Enabling S3 access for the self service

To allow self-service users to manage S3 resources, you need to enable S3 access for the domains. By default, S3 access is disabled for all domains.

Limitations

  • Only domain administrators can manage S3 resources.

Prerequisites

To enable S3 access for a domain

Admin panel

  1. On the Projects and users screen, click the required domain.
  2. Switch to the Settings > S3 access screen, and then enable S3 access.

Command-line interface

Use the following command:

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

For example, to enable S3 access for the domain mydomain, run:

# vinfra service s3 self-service domain enable --domain mydomain

The updated domain setting will appear in the vinfra service s3 self-service domain show output:

# vinfra service s3 self-service domain show --domain mydomain
+---------+-------+
| Field   | Value |
+---------+-------+
| Enabled | True  |
+---------+-------+

To disable S3 access for a domain

Admin panel

  1. On the Projects and users screen, click the required domain.
  2. Switch to the Settings > S3 access screen, and then disable S3 access.

Command-line interface

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

For example, to disable S3 access for the domain mydomain, run:

# vinfra service s3 self-service domain disable --domain mydomain

The updated domain setting will appear in the vinfra service s3 self-service domain show output:

# vinfra service s3 self-service domain show --domain mydomain
+---------+-------+
| Field   | Value |
+---------+-------+
| Enabled | False |
+---------+-------+