Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
awscli / awscli / examples / s3api / put-bucket-encryption.rst
Size: Mime:
**To configure server-side encryption for a bucket**

The following ``put-bucket-encryption`` example sets AES256 encryption as the default for the specified bucket. ::

    aws s3api put-bucket-encryption \
        --bucket my-bucket \
        --server-side-encryption-configuration '{"Rules": [{"ApplyServerSideEncryptionByDefault": {"SSEAlgorithm": "AES256"}}]}'

This command produces no output.