Created
March 28, 2018 11:58
-
-
Save thoughtspeed7/19c7605ccbdf694e0d3fab8c887b8f9f to your computer and use it in GitHub Desktop.
Using Container Builder with Cloud Key Management Service (KMS) on Google Cloud Platform
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
# om namah shivay | |
steps: | |
# decrypt root/secrets/cloud-datastore.json | |
- name: gcr.io/cloud-builders/gcloud | |
args: | |
- kms | |
- decrypt | |
- --location=global | |
- --keyring=dev-key-ring | |
- --key=dev-key-cloud-datastore | |
- --ciphertext-file=./secrets/cloud-datastore.json.enc | |
- --plaintext-file=./secrets/cloud-datastore.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment