Managing domain S3 users
Each domain administrator with S3 access enabled is mapped to a domain S3 user with an automatically generated name. The domain S3 user name format is user_id@s3.virtuozzo. Such an S3 user is also assigned a unique Amazon Resource Name (ARN). The ARN is generated as follows: arn:aws:iam::<domain_id>:<user_id>.
Prerequisites
- A domain S3 user is created, as described in Migrating S3 users to domains.
To enable or disable a domain S3 user
Admin panel
- Open the Storage services > S3 > Users screen, and then select a user.
- On the user right pane, click Create or Disable.
Command-line interface
Use the following command:
vinfra domain user set [--enable | --disable] --domain <domain> <user>
--enable- Enable user
--disable- Disable user
--domain <domain>- Domain name or ID
<user>- User ID or name
For example, to disable the user myuser within the domain mydomain, run:
# vinfra domain user set myuser --domain mydomain --disable
To delete a domain S3 user
Admin panel
- Open the Storage services > S3 > Users screen, and then select a user.
- On the user right pane, click Delete.
- In the confirmation window, click Confirm.
Command-line interface
Use the following command:
vinfra domain user delete --domain <domain> <user>
--domain <domain>- Domain name or ID
<user>- User ID or name
For example, to delete the user myuser from the domain mydomain, run:
# vinfra domain user delete myuser --domain mydomain