Skip to content

Instantly share code, notes, and snippets.

@Gvetri
Created April 23, 2020 17:56
CloudBuild snippet 3
echo -n YOURVARIABLE | gcloud kms encrypt \\n --plaintext-file=my_variable.txt \\n --ciphertext-file=my_variable_encrypted.txt \\n --location=global \\n --keyring=yourkeyringname \\n --key=KEYNAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment