Created
June 24, 2019 22:18
-
-
Save yehudamakarov/f783d65234cd96c59f49f2328c2df0f0 to your computer and use it in GitHub Desktop.
[gcloud] gcloud commands
This file contains hidden or 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
gcloud kms encrypt --location global \ | |
--keyring test --key quickstart \ | |
--plaintext-file mysecret.txt \ | |
--ciphertext-file mysecret.txt.encrypted | |
gcloud kms decrypt --location global \ | |
--keyring test --key quickstart \ | |
--ciphertext-file mysecret.txt.encrypted \ | |
--plaintext-file mysecret.txt.decrypted |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment