Skip to content

Instantly share code, notes, and snippets.

@nikkaroraa
Created March 20, 2020 13:16
Show Gist options
  • Save nikkaroraa/ff7dc208a64eac9be6568ef58f104d0d to your computer and use it in GitHub Desktop.
Save nikkaroraa/ff7dc208a64eac9be6568ef58f104d0d to your computer and use it in GitHub Desktop.
Google KMS encryption command
echo -n <variable> | gcloud kms encrypt --plaintext-file=- --ciphertext-file=- --location=global --keyring <keyring> --key <key> | base6
4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment