Skip to content

Amazon S3 Bucket ​

This manual lists all the configurations that the S-Filer Portal's Configuration CLI can change about the Amazon S3 Bucket.

You can changes these configurations using the modify-amazon-s3-storage command

    modify-amazon-s3-storage      Modify the Amazon S3 storage with the 
            configuration specified
      Usage: modify-amazon-s3-storage [options]
        Options:
          -aki
            The Amazon S3 storage access key identifier.
          -bn
            The Amazon S3 storage bucket name.
          -d
            The Amazon S3 storage description.
          -eo
            The Amazon S3 storage endpoint Override.
          -f
            The force update (skip warnings and optional validations).
            Default: false
        * -n
            The Amazon S3 storage name.
          -nn
            The Amazon S3 storage new name.
          -r
            The Amazon S3 storage region.
          -s
            The Amazon S3 storage status.
            Possible Values: [ACTIVE, INACTIVE, PASSIVE]
          -sak
            The Amazon S3 storage secret access key.
Configuration keyDescriptionDefault value
cfg.storage.cloud.amazons3.accesskeyid
Available in4.18.0 +
Access key identifier used to connect to the host.
cfg.storage.cloud.amazons3.bucketname
Available in4.18.0 +
Name of the bucket (must exist on the host)
cfg.storage.cloud.amazons3.endpointoverride
Available in4.18.0 +
Endpoint used to connect to the host. Be aware that this field is optional when connecting to Amazon S3. In this specific case, it is not necessary to specify the endpoint replacement and you can leave this field blank. It may happen that in specific cases, you need to replace the endpoint.
cfg.storage.cloud.amazons3.forcepathstyle
Available in4.21.0 +
Addresses the bucket as a path (host/bucket) instead of a sub-domain of the host (bucket.host). Leave to No for Amazon S3 and for any S3-compatible storage that resolves every bucket as a sub-domain. Set to Yes for an S3-compatible storage served from a single host name without wildcard DNS, such as MinIO, Ceph or an on-premise gateway, otherwise every request fails because the bucket.host name cannot be resolved.false
cfg.storage.cloud.amazons3.region
Available in4.18.0 +
Region used to connect to the host.
cfg.storage.cloud.amazons3.secretaccesskey
Available in4.18.0 +
Secret access key used to connect to the host.