Created
October 16, 2018 23:34
-
-
Save Packet-Lost/978c1a37990c218ec3dda7e9a84a0584 to your computer and use it in GitHub Desktop.
Set default server side encryption on an s3 bucket with powershell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-S3BucketEncryption -BucketName BucketNameGoesHere -ServerSideEncryptionConfiguration_ServerSideEncryptionRule @{ServerSideEncryptionByDefault=@{ServerSideEncryptionAlgorithm="AES256"}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment