hashicorp/vault-guides

lambda vault integration error reading secrets

rudub opened this issue · 1 comments

rudub commented

I followed this blog and created a new environment.
But lambda execution giving this error:

error reading file: open /tmp/vault_secret.json: no such file or directory

you can test the lambda function first by defining the cred in the lambda environment variable
if the above test work then check the IAM role and policy again that attached with vault server and lambda
or
configure again aws auth by providing iam_server_id_header_value="" with the parameter.
vault write auth/aws/config/client iam_server_id_header_value=""