Skip to content

AWS Secrets Manager - How to get secret and use it in a template #1404

Answered by hairyhenderson
air3ijai asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @air3ijai,

First off, the error you're getting looks like #1234. Try setting the AWS_TIMEOUT environment variable to a value like 2000 (milliseconds) to see if that works around the issue.

  1. How we can authenticate on AWS? Didn't find such information in the documentation - using-aws-sm-datasource

Looks like that doc section is missing a link to https://docs.gomplate.ca/functions/aws/#configuring-aws - it's linked from the aws+smp docs, but I must've missed aws+sm!

  1. How we can get specific key name value from AWS Secrets Manager?

I'm not sure I totally understand this question - are you referring to the key1_name JSON field names encoded in the secret's value? If so, there are two…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by air3ijai
Comment options

You must be logged in to vote
1 reply
@hairyhenderson
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants