modify-amazon-s3-storage
This command is used to modify an Amazon S3 storage space in the S-Filer Portal solution.
Syntax:
shell
sfiler-config-cli [options] modify-amazon-s3-storage [command options]| Command options | Required / Optional | Description |
|---|---|---|
| -n | Required | The Amazon S3 storage name. |
| -nn | Optional | The Amazon S3 storage new 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. When omitted, the current value is kept. |
| -r | Optional | The Amazon S3 storage region. |
| -aki | Optional | The Amazon S3 storage access key identifier. |
| -sak | Optional | The Amazon S3 storage secret access key. |
| -bn | Optional | The Amazon S3 storage bucket name. |
| -s | Optional | The Amazon S3 storage status. |
| -f | Optional | The force update (skip warnings and optional validations). |
Example:
This command modifies an Amazon S3 storage space with the name "my storage" to "my new storage".
shell
./sfiler-config-cli.sh -l my-user -p my-password -cf "conf/sfiler.conf" modify-amazon-s3-storage -n "my storage" -nn "my new storage"shell
.\sfiler-config-cli.bat -l my-user -p my-password -cf "conf\sfiler.conf" modify-amazon-s3-storage -n "my storage" -nn "my new storage"This command switches the Amazon S3 storage "my storage" to path-style addressing.
shell
./sfiler-config-cli.sh -l my-user -p my-password -cf "conf/sfiler.conf" modify-amazon-s3-storage -n "my storage" -fps trueshell
.\sfiler-config-cli.bat -l my-user -p my-password -cf "conf\sfiler.conf" modify-amazon-s3-storage -n "my storage" -fps true