After creating an alias for the primary tenant in VMware Identity Manager, you add a tenant and associate it with a vRealize Suite product such as vRealize Automation, so that the tenant can use the product services.
Prerequisites
- Verify that all general prerequisites have been satisfied. See Tenant management using vRealize Suite Lifecycle Manager APIs.
- Verify that all prerequisites for adding a tenant by using the vRealize Suite Lifecycle Manager UI have been satisfied. See Add Tenants.
- Verify that you have the following input values required to create the tenant:
- The name of the tenant that you choose.
- If associating it with a product, ID of the environment with the product where the tenant will be assigned. See Associate an existing tenant with vRealize Automation.
vidmCludDto
Provide details for the administrator of the tenant that you are creating.
Optional input values include:migratePreludeOAuthClients
Defaults to true. If false, existing active directories are not migrated when the tenant is created. For example, set this value to false if you want to associate the tenant with a vRealize Suite product later.vidmDclDTO
This data transfer object captures directory information such as names and passwords for AD in VMware Identity Manager. Provide this information if you want to add directories in the primary tenant to the tenant that you are creating.
Procedure
Example: How do I add a tenant that is associated with a product?
To create a tenant that is associated with a product so that it can use the services that the product provides, you make the request and include the productsToAssociateWith field that includes an environment ID and the product in the request.
The following example shows how to create a tenant named
new_vRA_Tenant
that is associated with
vRealize Automation.
curl -X POST \ '$url/lcm/authzn/api/v2/idp/tenants/onboard/new_vRA_Tenant' \ -H 'Authorization: Basic YWRtaW5AbG9jYWw6VGhpc0lzUGFzc3dvcmQ=' \ -H 'Content-Type: application/json' \ -d '{ "migratePreludeOAuthClients": true, "productsToAssociateWith": [ { "environmentId": "cd6043b4-4848-4f57-90f9-90ab87274185", "productId": "vra" } ], "vidmCludDto": { "email": "frodo@example_company.com", "familyName": "Pepsidev56-157_last_name", "givenName": "Pepsidev56-157_first_name", "password": "S0mePassw0rd!", "userName": "Pepsidev56-157" }, "vidmDclDTO": { "adOverLdapDirectories": [ { "directoryBindPassword": "ADB!ind1_Passw0rd!", "directoryName": "AD_1" } ], "adWithIwaDirectories": [ { "directoryBindPassword": "ADB!nd2_Passw0rd!", "directoryName": "AD_2", "domainAdminPassword": "AD_D0main_Passw0rd!" } ] } }' | jq "."