POST /lcm/api/v1/settings/add/ad adds an active directory server to vRealize Suite Lifecycle Manager.

Prerequisites

Satisfy the following conditions before performing any tasks for this use case.

  • Use POST /lcm/api/v1/login to log in to vRealize Suite Lifecycle Manager.

  • Verify that you have a valid authentication token that matches your login credentials. See Request an Authentication Token.

curl Command

The following example adds an active directory server to vRealize Suite Lifecycle Manager.

curl -X POST "https://LCM-Hostname/lcm/api/v1/settings/add/ad" \
        -H "accept: application/json" \
        -H "x-xenon-auth-token: $token" \
        -H "content-type: application/json" \
        -d '{
            "adName": "domain.local",
            "baseDN": "OU=Admins,DC=sqa,DC=local",
            "bindDN": "CN=testuser,OU=Admins,DC=domain,DC=local",
            "groupDN": "DC=domain,DC=local",
            "bindPassword": "vmware",
            "uberAdmin": "testuser@domain.local"
           }'

JSON Output

The following JSON output is returned when the operation completes successfully.

200 Operation successful