[{"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

Description

Add an External Identity Provider

Request

Request

URL

URL


post
https://sfo-vcf01.rainpole.io/v1/identity-providers
Copy

Request Body

Request Body

IdentityProviderSpec of type(s) application/json Required

Identity Provider Spec

{
	"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"
}
ldap Required

The LDAP specification when the protocol is LDAP


string
name Required

The user-friendly name for the Identity Provider


oidc Required

The identity management configuration when the provider is based on oidc


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

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

Errors

Error
400

Bad Request


Error
500

Internal server error

Code Samples

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
Feedback

Was this page helpful?