Skip to content

Instantly share code, notes, and snippets.

@flannon
Last active March 1, 2019 20:00
Show Gist options
  • Save flannon/a2f8ad0526a2efd55a4e3fa42abb5ba7 to your computer and use it in GitHub Desktop.
Save flannon/a2f8ad0526a2efd55a4e3fa42abb5ba7 to your computer and use it in GitHub Desktop.
pbpaste | base64 --decode | keybase pgp decrypt
or:
terraform state show terraform_remote_state.<state file name> | grep <secret access key output name> | awk '{ print $3 }' | base64 --decode | keybase pgp decrypt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment