[{"label":"Latest (5.0.0)","version":"latest"},{"version":"4.5.1"},{"version":"4.5.0"},{"version":"4.4.0"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1127/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1078/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1033/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1003/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/939/vmware-cloud-foundation","version":"4.0"}]
vcf-for-vxrail
Add External Identity Provider
DescriptionAdd an External Identity Provider
Request
URLURL
https://sfo-vcf01.rainpole.io/v1/identity-providers
Request Body
Request Body
{
"ldap": {
"domainName": "string",
"password": "string",
"sourceDetails": {
"groupsBaseDn": "string",
"serverEndpoints": [
"string"
],
"usersBaseDn": "string"
},
"type": "One among: OpenLdap, ActiveDirectory",
"username": "string"
},
"name": "string",
"oidc": {
"clientId": "string",
"clientSecret": "string",
"discoveryEndpoint": "string"
},
"type": "string"
}
string
name
Required
The user-friendly name for the Identity Provider
string
type
Required
The type of Identity Identity Provider
array of
string
certChain
Optional
The root certificate chain required to connect to the external server
Response
201 Created Response Body>
Response
200 OK Response Body>Response Body
200 OK
Returns
object
of type(s) */*
201 Created Response Body>
Response Body
201 Created
Returns
object
of type(s) */*
Errors
Error
400
Bad Request
Error
500
Internal server error
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"certChain":["string"],"ldap":{"domainAlias":"string","domainName":"string","password":"string","sourceDetails":{"certChain":["string"],"groupsBaseDn":"string","serverEndpoints":["string"],"usersBaseDn":"string"},"type":"One among: OpenLdap, ActiveDirectory","username":"string"},"name":"string","oidc":{"clientId":"string","clientSecret":"string","discoveryEndpoint":"string"},"type":"string"}' https://sfo-vcf01.rainpole.io/v1/identity-providers
[{"label":"Latest (5.0.0)","version":"latest"},{"version":"4.5.1"},{"version":"4.5.0"},{"version":"4.4.0"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1127/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1078/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1033/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1003/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/939/vmware-cloud-foundation","version":"4.0"}]
vcf-for-vxrail