Per the Terraform AWS Provider docs for the aws_iam_access_key resource, I figured I’d try this Keybase PGP thing.
This is the config I’ve got (and stayed with, because it wasn’t wrong):
resource "aws_iam_access_key" "example_key" {
user = aws_iam_user.example.name
pgp_key = "keybase:yaleman"
}
While trying to apply the config however, I got this error…
│ Error: Error retrieving Public Key for keybase:yaleman: unable to fetch keys for user(s) "yaleman" from keybase
│
│ with aws_iam_access_key.example_key,
│ on example.tf line 26, in resource "aws_iam_access_key" "example_key":
│ 26: resource "aws_iam_access_key" "example_key" {
│
Well, that’s annoying and slightly vague!
[Read More]