Decrypting Terraform Output with Keybase

In my terraform code I have:

resource "aws_iam_access_key" "this" {
  user    =
  pgp_key = "keybase:jonnymccullagh"

And after running the terraform apply I get an encrypted IAM secret key. To decrypt the string:

echo "wcFMA+32longstring1wA=" | base64 --decode | keybase pgp decrypt

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>