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 / get-bucket-encryption.rst
Size: Mime:
**To retrieve the server-side encryption configuration for a bucket**

The following ``get-bucket-encryption`` example retrieves the server-side encryption configuration for the bucket ``my-bucket``. ::

    aws s3api get-bucket-encryption \
        --bucket my-bucket

Output::

    {
        "ServerSideEncryptionConfiguration": {
            "Rules": [
                {
                    "ApplyServerSideEncryptionByDefault": {
                        "SSEAlgorithm": "AES256"
                    }
                }
            ]
        }
    }