User guide

If you have assigned a user to the Tenant Administrator role for the tenant, they will
automatically have access to the project.
You can use the projects/{id}/acl path to assign permissions to a user for the
project. For example:
Request
PUT projects/ urn:storageos:Project:
60a3069e-74cc-4e79-9857-1c121ce1635a:/acl
<acl_assignment_changes>
<add>
<privilege>USE</privilege>
<subject_id>bsmith@domain2.yourco.com</subject_id>
</add>
</acl_assignment_changes>
9. If you want to use Data Services, you need to assign a namespace to the tenant and
assign a default data services virtual pool. You can also assign a default project. You
must be authenticated as a user with the System Administrator role to perform this
operation.
Request
POST /object/namespaces/namespace
<namespace_create>
<namespace>namespace1</namespace>
<vdcs>
<tenant>urn:storageos:TenantOrg:4edc456c-
c7f5-4c54-84b2-29715cc8f504:</tenant>
</vdcs>
</namespace_create>
Response
<namespace>
<id>namespace1</id>
<inactive>false</inactive>
<link href="/object/namespaces/namespace/namespace1"
rel="self"/>
<tags/>
<vdcs/>
</namespace>
Configuring multiple tenants with the CLI
This section describes how to configure multiple tenants with the ViPR CLI. Complete the
following procedure for each tenant you want to create.
Before you begin
u
This procedure uses the ViPR CLI. Follow the setup instructions in the
EMC ViPR CLI
Reference
to setup the command line interface.
u
Follow the ViPR initial configuration for the Controller and Data Services in the
EMC
ViPR Installation and Configuration Guide
.
Procedure
1. Authenticate using the "root" user.
viprcli authenticate -u root -d /tmp
Password: <enter user password>
2. Ensure you have an authentication provider that will authenticate users in your
domain.
Either:
Setting Up Multiple Tenants
Configuring multiple tenants with the CLI 79