0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.17.156.84


Current Path : /proc/thread-self/root/usr/share/doc/awscli/examples/s3api/
Upload File :
Current File : //proc/thread-self/root/usr/share/doc/awscli/examples/s3api/put-bucket-encryption.rst

**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.