7.2

Table Of Contents
Parameter Description
URL hps://$host/identity/api/tenants/$tenantId/directories/$domainName --data
@$inputFileName.json
$host Species the host name and fully qualied domain name or IP address of
the vRealize Automation identity server.
$token Species a valid HTTP bearer token with necessary credentials.
$tenantId Species the ID of the tenant.
userId Species the ID of the user in the form name@domain.
$domainAlias Species the domain alias.
$domainName Species the domain of the identity store.
$grpBaseSearchDn Species the group search base Distinguished Name.
$identityStoreName Species a description of the new tenant.
$password Species the password.
$identityStoreType Species the identity store type for the tenant. The following values are
supported:
n
LDAP
n
AD
n
NATIVE_AD
$identityServerUrl Species the URL of the identity server.
$usrBaseSearchDn Species the user search base Distinguished Name.
$usrNameDn Species the Distinguished Name for the login user.
JSON Input File Template
Use this template to create a JSON input le. Replace the variables in the template with actual values in the
le.
{
"alias": "$domainAlias",
"domain": "$domainName",
"groupBaseSearchDn": "$grpBaseSearchDn",
"name": "$identityStoreName",
"password": "$password",
"type": "$identityStoreType",
"url": "$identityServerUrl",
"userBaseSearchDn": "$usrBaseSearchDn",
"userNameDn": "$usrNameDn"
}
Output
The command output contains property names and values based on the command input parameters.
Programming Guide
26 VMware, Inc.