add-amazon-s3-storage
Adds an Amazon S3 Cloud storage.
Syntax:
shell
sfiler-config-cli [options] add-amazon-s3-storage [command options]| Command options | Required / Optional | Description |
|---|---|---|
| -n | Required | The Amazon S3 storage name. |
| -d | Optional | The Amazon S3 storage description. |
| -eo | Optional | The Amazon S3 storage endpoint override. |
| -fps | Optional | True or False: address the bucket as a path (host/bucket) instead of a sub-domain of the host (bucket.host). Required by an S3-compatible storage served from a single host name without wildcard DNS, such as MinIO or Ceph. Defaults to False. |
| -r | Required | The Amazon S3 storage region. |
| -aki | Required | The Amazon S3 storage access key identifier. |
| -sak | Required | The Amazon S3 storage secret access key. |
| -bn | Required | The Amazon S3 storage bucket name. |
Example:
shell
./sfiler-config-cli.sh -l my-user -p my-password -cf "conf/sfiler.conf" add-amazon-s3-storage -n "My Amazon S3 Storage" -d "My Amazon S3 Storage Description" -r "ca-central-1" -aki "my-access-key" -sak "my-secret-access-key" -bn "sfiler-vagrant"shell
.\sfiler-config-cli.bat -l my-user -p my-password -cf "conf\sfiler.conf" add-amazon-s3-storage -n "My Amazon S3 Storage" -d "My Amazon S3 Storage Description" -r "ca-central-1" -aki "my-access-key" -sak "my-secret-access-key" -bn "sfiler-vagrant"This command adds an S3-compatible storage served by MinIO, which requires path-style addressing.
shell
./sfiler-config-cli.sh -l my-user -p my-password -cf "conf/sfiler.conf" add-amazon-s3-storage -n "My MinIO Storage" -eo "https://minio.example.com:9000" -fps true -r "us-east-1" -aki "my-access-key" -sak "my-secret-access-key" -bn "sfiler-bucket"shell
.\sfiler-config-cli.bat -l my-user -p my-password -cf "conf\sfiler.conf" add-amazon-s3-storage -n "My MinIO Storage" -eo "https://minio.example.com:9000" -fps true -r "us-east-1" -aki "my-access-key" -sak "my-secret-access-key" -bn "sfiler-bucket"Executing this command will add new Amazon S3 storage. You can get detailed help on AWS S3 storage by consulting the following topic: AWS S3
