[{"label":"Latest (8.6.3)","version":"latest"}]
vrealize-operations

Add Auth Source

Description

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.

Request

Request

URL

URL


post
https://localhost/suite-api/api/auth/sources
Copy

Request Body

Request Body

auth-source of type(s) application/json, application/xml Required

Contains authSource’s type and its properties

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns AuthSource of type(s) application/json, application/xml

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.

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"certificates":[{"certificateDetails":"string","expires":"string","issuedBy":"string","issuedTo":"string","thumbprint":"string"}],"created":0,"id":"string","lastModified":0,"links":[{"description":"string","href":"string","name":"string","rel":"NEXT"}],"name":"string","property":[{"name":"string","value":"string"}],"sourceType":{"description":"string","id":"string","links":[{"description":"string","href":"string","name":"string","rel":"NEXT"}],"name":"string","properties":{"property":[{"dataType":"STRING","description":"string","modifiable":false,"name":"string","required":false}]}}}' https://localhost/suite-api/api/auth/sources


[{"label":"Latest (8.6.3)","version":"latest"}]
vrealize-operations
Auth Operations
Feedback

Was this page helpful?