Migrating S3 users to domains

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 users.

Prerequisites

To migrate an S3 user to a domain S3 user

Use the following command:

vinfra service s3 self-service user link [--domain <domain>] [--user <user>] --s3-user-id <s3_user_id>
--domain <domain>
Domain name or ID
--user <user>
Domain user name or ID
--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 become domain S3 users and can log in to the self-service panel using those credentials at https://<self-service_panel_ip_or_domain>:8800/s3-storage/.

To remove self-service access

Use the following command:

vinfra service s3 self-service user unlink --domain <domain> --user <user>
--domain <domain>
Domain name or ID
--user <user>
Domain user name or ID

For example, to unlink an S3 user from the domain user myuser in the domain mydomain, run:

# vinfra service s3 self-service user unlink --domain mydomain --user myuser

After unlinking, the S3 user loses access to the self-service panel.