Linking S3 users to self-service users
S3 users created before the self-service portal was configured do not have access to it. To grant access, you need to link the existing S3 users to newly created self-service accounts.
Prerequisites
- A self-service user is created, as described in Configuring multitenancy.
- S3 access is enabled for a domain, as explained in Enabling S3 access for the self service.
To link an S3 user to a self-service user
Use the following command:
vinfra service s3 self-service user link [--domain <domain>] [--domain-id <domain_id>] [--domain-name <domain_name>]
[--user <user>] [--user-id <user_id>] [--user-name <user_name>]
--s3-user-id <s3_user_id>
--domain <domain>- Domain name or ID
--domain-id <domain_id>- Domain ID
--domain-name <domain_name>- Domain name
--user <user>- Domain user name or ID
--user-id <user_id>- Domain user ID
--user-name <user_name>- Domain user name
--s3-user-id <s3_user_id>- S3 user ID
For example, to link the S3 user with the ID 88e9c62097361d3a to the self-service user with the name myuser in the domain mydomain, run:
# vinfra service s3 self-service user link --domain mydomain --user myuser --s3-user-id 88e9c62097361d3a
After linking the S3 user to the self-service account, they can log in to the self-service panel using those credentials at https://<self-service_panel_ip_or_domain>:8800/s3-storage/.