Skip to content

Sample terraform project enabling encryption at rest with Google Storage Buckets using a customer managed key

License

Notifications You must be signed in to change notification settings

binxio/encryption-at-rest-google-storage-buckets

Repository files navigation

Encryption at rest with Google Storage Buckets with customer managed keys

Google Storage Buckets is the service from Google to store unstructured data that can be accesses by a key. Data stored in a Google Storage Bucket is ultimately stored on a persistent disk. By default Google will encrypt/decrypt stored data using a google managed encryption key. This terraform project creates both a bucket with a google managed key and a customer managed key for encryption.

for more information read https://binx.io/blog/2018/11/15/encryption-at-rest-with-google-storage-buckets.

Install

to create the buckets, type:

GOOGLE_PROJECT=$(gcloud config get-value project)
terraform apply -auto-approve

to remove the buckets, type:

terraform destroy -force

Note that it will take 24 hours before the KMS key is actually deleted.

About

Sample terraform project enabling encryption at rest with Google Storage Buckets using a customer managed key

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages