This is the multi-page printable view of this section. Click here to print.
Getting started
- 1: Users and access keys
- 2: Roles and permissions
- 3: Connecting
- 4: Buckets
1 - Users and access keys
Roles
An authorized manager assigns roles to users in the Elastx Cloud Console. Your organization needs at least one user with the admin role.
| Role | Use for |
|---|---|
admin |
Managing buckets, objects and access keys |
readonly |
Downloading objects |
writeonly |
Uploading objects |
See Roles and permissions for details.
Console
Log in to The Vault Console with your Elastx ID. Only users with the admin role have access.
Access keys
Applications and S3 clients authenticate with access keys.
- Log in to the console.
- Go to Access Keys → Create access key.
- Copy the access key and secret key. The secret key is shown only once.
- A key has the same permissions as the admin who created it.
- Keys belong to the admin who created them. Other admins in the same organization cannot see them.
- To limit a key, enable Restrict beyond user policy and remove permissions from the JSON policy shown. A key can never get more access than its admin.
Example: a key that can only read one bucket. Replace the policy shown under Restrict beyond user policy with:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": ["s3:GetObject", "s3:ListBucket"],
"Resource": [
"arn:aws:s3:::<prefix>.<bucket-name>",
"arn:aws:s3:::<prefix>.<bucket-name>/*"
]
}
]
}
Policies use standard S3 action names. See supported S3 policy actions.
2 - Roles and permissions
| Action | admin |
readonly |
writeonly |
|---|---|---|---|
| Console login and access keys | ✓ | ||
| Create and delete buckets | ✓ | ||
| List buckets and objects | ✓ | ||
| Download objects | ✓ | ✓ | |
| Upload objects | ✓ | ✓ | |
| Delete objects and versions | ✓ | ||
| Object locking, retention and legal hold | ✓ | ||
| Bypass governance locks | ✓ | ||
| Versioning, tags and lifecycle rules | ✓ | ||
| Bucket policies and replication | ✓ |
readonlydownloads the current version of objects by exact name. It cannot list, so the object names must be known.writeonlycan overwrite existing objects. In a versioned bucket the previous version is kept.
3 - Connecting
| Setting | Value |
|---|---|
| Endpoint | https://vault.elastx.cloud |
| Region | us-east-1 |
| Addressing style | Path-style |
AWS CLI
Install: AWS CLI v2. Requires v2.13 or later.
~/.aws/config:
[profile <profile>]
region = us-east-1
endpoint_url = https://vault.elastx.cloud
s3 =
addressing_style = path
~/.aws/credentials:
[<profile>]
aws_access_key_id = <access-key>
aws_secret_access_key = <secret-key>
aws --profile <profile> s3 ls
rclone
Install: rclone
~/.config/rclone/rclone.conf:
[<remote>]
type = s3
provider = Minio
endpoint = https://vault.elastx.cloud
access_key_id = <access-key>
secret_access_key = <secret-key>
rclone lsd <remote>:
MinIO Client (mc)
Note: MinIO no longer publishes or patches the community
mc. It still works with The Vault, but prefer the AWS CLI or rclone.
Install the last release from GitHub.
Linux (x86_64):
curl -L -o mc https://github.com/minio/mc/releases/download/RELEASE.2025-08-13T08-35-41Z/mc.linux-amd64.RELEASE.2025-08-13T08-35-41Z
chmod +x mc
sudo mv mc /usr/local/bin/
mc --version
macOS (Apple silicon):
curl -L -o mc https://github.com/minio/mc/releases/download/RELEASE.2025-08-13T08-35-41Z/mc.darwin-arm64.RELEASE.2025-08-13T08-35-41Z
chmod +x mc
sudo mv mc /usr/local/bin/
mc --version
Other platforms (Linux ARM, Intel Mac, Windows): mc release on GitHub. Each binary has a .sha256sum file for verification.
Configure:
mc alias set <alias> https://vault.elastx.cloud <access-key> <secret-key>
mc ls <alias>
4 - Buckets
Examples use the AWS CLI profile from Connecting.
Naming
Bucket names must start with your organization’s prefix followed by a dot:
<prefix>.<bucket-name>
Find your prefix in the Elastx Cloud Console. Names without the prefix are rejected.
Create a bucket
aws --profile <profile> s3 mb s3://<prefix>.<bucket-name>
With object locking (immutability):
aws --profile <profile> s3api create-bucket --bucket <prefix>.<bucket-name> --object-lock-enabled-for-bucket
Note: Object locking can only be enabled when the bucket is created. It also enables versioning, which cannot be turned off. See Object locking.
Upload and download
aws --profile <profile> s3 cp ./file.tar.gz s3://<prefix>.<bucket-name>/
aws --profile <profile> s3 cp s3://<prefix>.<bucket-name>/file.tar.gz ./
aws --profile <profile> s3 ls s3://<prefix>.<bucket-name>/
MinIO Client (mc)
mc mb <alias>/<prefix>.<bucket-name>
mc mb --with-lock <alias>/<prefix>.<bucket-name>
mc cp ./file.tar.gz <alias>/<prefix>.<bucket-name>/
mc cp <alias>/<prefix>.<bucket-name>/file.tar.gz ./
mc ls <alias>/<prefix>.<bucket-name>