Add Auth Source
If the authentication source is of type LDAP or AD and if ssl is enabled, the response object will contain a list of certificates found matching with the provided host.If the authentication source is not of type LDAP or AD (or) if ssl is not enabled, then the authentication source is available for use as soon as the api call is successful.It is the duty of the caller to call the PATCH (/sources) api with the certificate details. Once the PATCH api call is successful, the authentication source is available for use.
Contains authSource's type and its properties
Show optional properties
{
"name": "string",
"sourceType": {
"id": "string",
"name": "string"
},
"property": [
{
"name": "string",
"value": "string"
}
],
"certificates": [
{}
]
}
"{\n \"name\" : \"TEST\",\n \"sourceType\" : {\n \"id\" : \"ACTIVE_DIRECTORY\",\n \"name\" : \"ACTIVE_DIRECTORY\",\n \"description\" : \"DESC\"\n },\n \"created\" : 1744473855783,\n \"lastModified\" : 1744473855783,\n \"property\" : [ {\n \"name\" : \"display-name\",\n \"value\" : \"Test_11\"\n }, {\n \"name\" : \"host\",\n \"value\" : \"brlrootdc01.vmware.com\"\n }, {\n \"name\" : \"domain\",\n \"value\" : \"vmware.com\"\n }, {\n \"name\" : \"host-auto-select\",\n \"value\" : \"false\"\n }, {\n \"name\" : \"use-ssl\",\n \"value\" : \"true\"\n }, {\n \"name\" : \"user-name\",\n \"value\" : \"[email protected]\"\n }, {\n \"name\" : \"password\",\n \"value\" : \"password\"\n }, {\n \"name\" : \"base-domain\",\n \"value\" : \"dc=vmware,dc=com\"\n }, {\n \"name\" : \"common-name\",\n \"value\" : \"userPrincipalName\"\n }, {\n \"name\" : \"port\",\n \"value\" : \"636\"\n }, {\n \"name\" : \"group-search-criteria\",\n \"value\" : \"(|(objectClass=group)(objectClass=groupOfNames))\"\n }, {\n \"name\" : \"member-attribute\",\n \"value\" : \"member\"\n }, {\n \"name\" : \"user-search-criteria\",\n \"value\" : \"\"\n }, {\n \"name\" : \"member-match-field\",\n \"value\" : \"\"\n }, {\n \"name\" : \"ldap-context-attributes\",\n \"value\" : \"\"\n } ],\n \"certificates\" : [ ]\n}"
Immutable Identifier of the Auth Source
Name of the External System. Set by admin when the source is added or imported into vROps.
name and id of a source is unique with the exception that name can be modified by a system admin.
This object represents the type of external authentication source supported by VMware Cloud Foundation Operations.
The Auth Source creation/import time in milliseconds
The Auth Source last modification time in millisecond
Represents a HTTP 'link' element.
It is implicit that all the link tags support http 'GET' method.
Properties of the Authentication Source.
The actual values of the metadata elements relevant for the specific Authentication Source
Certificate details of the Authentication Source.
Typically this will be present if and only if the Authentication Source enforces SSL
The Auth source is not created in the system and ssl certificate details are returned as response. The caller has to call the PATCH (/auth/sources) API with the certificate details.
"{\n \"id\" : \"00000000-0000-000a-0000-000000000014\",\n \"name\" : \"TEST\",\n \"sourceType\" : {\n \"id\" : \"ACTIVE_DIRECTORY\",\n \"name\" : \"ACTIVE_DIRECTORY\",\n \"description\" : \"DESC\"\n },\n \"created\" : 1744473855781,\n \"lastModified\" : 1744473855781,\n \"property\" : [ {\n \"name\" : \"display-name\",\n \"value\" : \"Test_11\"\n }, {\n \"name\" : \"host\",\n \"value\" : \"brlrootdc01.vmware.com\"\n }, {\n \"name\" : \"domain\",\n \"value\" : \"vmware.com\"\n }, {\n \"name\" : \"host-auto-select\",\n \"value\" : \"false\"\n }, {\n \"name\" : \"use-ssl\",\n \"value\" : \"true\"\n }, {\n \"name\" : \"user-name\",\n \"value\" : \"[email protected]\"\n }, {\n \"name\" : \"password\",\n \"value\" : \"password\"\n }, {\n \"name\" : \"base-domain\",\n \"value\" : \"dc=vmware,dc=com\"\n }, {\n \"name\" : \"common-name\",\n \"value\" : \"userPrincipalName\"\n }, {\n \"name\" : \"port\",\n \"value\" : \"636\"\n }, {\n \"name\" : \"group-search-criteria\",\n \"value\" : \"(|(objectClass=group)(objectClass=groupOfNames))\"\n }, {\n \"name\" : \"member-attribute\",\n \"value\" : \"member\"\n }, {\n \"name\" : \"user-search-criteria\",\n \"value\" : \"\"\n }, {\n \"name\" : \"member-match-field\",\n \"value\" : \"\"\n }, {\n \"name\" : \"ldap-context-attributes\",\n \"value\" : \"\"\n } ],\n \"certificates\" : [ {\n \"thumbprint\" : \"1@34343453dfr#@gsrakgb454\",\n \"certificateDetails\" : \"CERT_DETAILS\"\n } ]\n}"
Immutable Identifier of the Auth Source
Name of the External System. Set by admin when the source is added or imported into vROps.
name and id of a source is unique with the exception that name can be modified by a system admin.
This object represents the type of external authentication source supported by VMware Cloud Foundation Operations.
The Auth Source creation/import time in milliseconds
The Auth Source last modification time in millisecond
Represents a HTTP 'link' element.
It is implicit that all the link tags support http 'GET' method.
Properties of the Authentication Source.
The actual values of the metadata elements relevant for the specific Authentication Source
Certificate details of the Authentication Source.
Typically this will be present if and only if the Authentication Source enforces SSL
The Auth source is created in the system
"{\n \"id\" : \"00000000-0000-000a-0000-000000000014\",\n \"name\" : \"TEST\",\n \"sourceType\" : {\n \"id\" : \"ACTIVE_DIRECTORY\",\n \"name\" : \"ACTIVE_DIRECTORY\",\n \"description\" : \"DESC\"\n },\n \"created\" : 1744473855782,\n \"lastModified\" : 1744473855782,\n \"property\" : [ {\n \"name\" : \"display-name\",\n \"value\" : \"Test_11\"\n }, {\n \"name\" : \"host\",\n \"value\" : \"brlrootdc01.vmware.com\"\n }, {\n \"name\" : \"domain\",\n \"value\" : \"vmware.com\"\n }, {\n \"name\" : \"host-auto-select\",\n \"value\" : \"false\"\n }, {\n \"name\" : \"use-ssl\",\n \"value\" : \"true\"\n }, {\n \"name\" : \"user-name\",\n \"value\" : \"[email protected]\"\n }, {\n \"name\" : \"password\",\n \"value\" : \"password\"\n }, {\n \"name\" : \"base-domain\",\n \"value\" : \"dc=vmware,dc=com\"\n }, {\n \"name\" : \"common-name\",\n \"value\" : \"userPrincipalName\"\n }, {\n \"name\" : \"port\",\n \"value\" : \"636\"\n }, {\n \"name\" : \"group-search-criteria\",\n \"value\" : \"(|(objectClass=group)(objectClass=groupOfNames))\"\n }, {\n \"name\" : \"member-attribute\",\n \"value\" : \"member\"\n }, {\n \"name\" : \"user-search-criteria\",\n \"value\" : \"\"\n }, {\n \"name\" : \"member-match-field\",\n \"value\" : \"\"\n }, {\n \"name\" : \"ldap-context-attributes\",\n \"value\" : \"\"\n } ],\n \"certificates\" : [ ]\n}"
Immutable Identifier of the Auth Source
Name of the External System. Set by admin when the source is added or imported into vROps.
name and id of a source is unique with the exception that name can be modified by a system admin.
This object represents the type of external authentication source supported by VMware Cloud Foundation Operations.
The Auth Source creation/import time in milliseconds
The Auth Source last modification time in millisecond
Represents a HTTP 'link' element.
It is implicit that all the link tags support http 'GET' method.
Properties of the Authentication Source.
The actual values of the metadata elements relevant for the specific Authentication Source
Certificate details of the Authentication Source.
Typically this will be present if and only if the Authentication Source enforces SSL
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"certificates":["object"],"name:"string","property":["object"],"sourceType:"object"}' https://{api_host}/suite-api/api/auth/sources