Skip to content

Instantly share code, notes, and snippets.

@Packet-Lost
Created October 16, 2018 23:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Packet-Lost/978c1a37990c218ec3dda7e9a84a0584 to your computer and use it in GitHub Desktop.
Save Packet-Lost/978c1a37990c218ec3dda7e9a84a0584 to your computer and use it in GitHub Desktop.
Set default server side encryption on an s3 bucket with powershell
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