Managing project S3 users

Each S3 user created inside a project has an automatically generated name, in addition to a friendly name specified at creation time. The project S3 user name format is user_id@s3.virtuozzo.

Prerequisites

To enable or disable a user in a project

Admin panel

  1. Open the Storage services > S3 > Users screen, and then select a user.
  2. On the user right pane, click Create or Disable.

Command-line interface

Use the following command:

vinfra service s3 project user set --project <project> --domain <domain> --s3-user <s3_user> [--enable] [--disable]
--project <project>
Project name or ID
--domain <domain>
Domain name or ID (required when a project name is specified)
--s3-user <s3_user>
S3 user ID
--enable
Enable the S3 user
--disable
Disable the S3 user

For example, to disable the user with the ID 1 in the project myproject within the domain mydomain, run:

# vinfra service s3 project user set --project myproject --domain mydomain --s3-user 1 --disable

To change a user name

Use the following command:

vinfra service s3 project user set --project <project> --domain <domain> --s3-user <s3_user> [--name <name>]
--project <project>
Project name or ID
--domain <domain>
Domain name or ID (required when a project name is specified)
--s3-user <s3_user>
S3 user ID
--name <name>
New S3 user name

For example, to change the name of the user with the ID 1 to mynewuser, run:

# vinfra service s3 project user set --project myproject --domain mydomain --s3-user 1 --name mynewuser

To delete a user from a project

Admin panel

  1. Open the Storage services > S3 > Users screen, and then select a user.
  2. On the user right pane, click Delete.
  3. In the confirmation window, click Confirm.

Command-line interface

Use the following command:

vinfra service s3 project user delete --project <project> --domain <domain> --s3-user <s3_user>
--project <project>
Project name or ID
--domain <domain>
Domain name or ID (required when a project name is specified)
--s3-user <s3_user>
S3 user ID

For example, to delete the user with the ID 1 from the project myproject within the domain mydomain, run:

# vinfra service s3 project user delete --project myproject --domain mydomain --s3-user 1