Created
April 29, 2020 15:31
-
-
Save davidcueva/c97501bef8f7f990a14a0f239fb422d4 to your computer and use it in GitHub Desktop.
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
echo "mysql-root-password-99" | \ | |
gcloud kms encrypt \ | |
--location=global \ | |
--keyring=my-keyring \ | |
--key=my-key \ | |
--plaintext-file=- \ | |
--ciphertext-file=mysql-root-password.encrypted |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment