Created
November 13, 2018 11:54
-
-
Save manekinekko/720b9db517f01fbdae9077cdd60ebaf6 to your computer and use it in GitHub Desktop.
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
echo -n "cb09******************" | \ | |
gcloud kms encrypt \ | |
--plaintext-file=- \ | |
--ciphertext-file=- \ | |
--location=global \ | |
--keyring=GITHUB_ACCESS_TOKEN \ | |
--key=GITHUB_ACCESS_TOKEN | \ | |
base64 | |
# Output: | |
# CiQ***********E0ERPWC8ZmeC*****hzcLQofsCCU1Mb9LMDKS8SUQCXwYbhw8R19NiubGBr6xN \ | |
# fWuSh*********ICIJc2/y0bMKTtlLhk5FptsBNeEW6pbpv0itfQMw**********8VWzBUmrSPz76\ | |
# N5****qsJxQ== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment