Creating additional tenants in ACP
ACP can be deployed in the multi-tenant mode, which enables creating distinct tenants that are logically separated.
Purpose
Create separate logical instances of ACP for different teams, organizations, partners, or environments.
Prerequisites
You have installed and run ACP locally in your environment.
Configuration
- SSH to the linux box where you have ACP installed.
- Using ACP CLI, execute the
acp tenants create
command with parameters adjusted as needed.
Example
The provided example command creates new tenant acme with the developer mode, demo applications, and Swagger docs enabled. The command uses already configured config providing configuration for the database connectivity, the encryption key, and other runtime options.
acp tenants create --tenant-id=acme --tenant-name=acme --tenant-url=https://acp.test.cloudentity.io:8443/acme --demo --dev --swagger --config=/etc/acp/reference.yaml,/etc/acp/config.yaml --demo --dev –swagger
More information
For the full list of the
acp tenants create
command options, see acp tenants create.
Access the tenant
Go to https://acp.test.cloudentity.io:8443/app/acme to access your new tenant and verify if it has been created successfully.
Further reading
For more information on the ACP multi-tenant model, see Multitenancy in Cloudentity ACP.