Patch Test Auth Source
Patch an already tested authentication source with the certificate data
Auth source object containing authSource ID, authSource type ,the properties of the auth source and certificate details
Show optional properties
{
"name": "string",
"sourceType": {
"id": "string",
"name": "string"
},
"property": [
{
"name": "string",
"value": "string"
}
],
"certificates": [
{}
]
}
"{\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\" : 1744473856189,\n \"lastModified\" : 1744473856189,\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
List of authentication source-typesAuthSource object that contains authSource ID, authSource type, properties of the auth source
"{\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\" : 1744473856188,\n \"lastModified\" : 1744473856188,\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 PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"certificates":["object"],"name:"string","property":["object"],"sourceType:"object"}'