Skip to content

Instantly share code, notes, and snippets.

@Packet-Lost
Created October 16, 2018 23:34
Show Gist options
  • 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