Dynamo DB consume from secretsmanager

0

**It is possible to consume secretsManager via dynamoDb tables? for example : **

{
  key: {{resolve:secretsmanager::password}}
}
asked 2 years ago623 views
1 Answer
0

According to the documentation this is possible in CloudFormation.

"The secretsmanager dynamic reference can be used in all resource properties."

profile pictureAWS
EXPERT
kentrad
answered 2 years ago
  • But if I add that reference to my table, when I call my lambda it would bring up the reference. Is there any way for him to perform this search in "secretsmanager"? When I call my dynamo table through my application's lambda, would there be some way for it to consult the secretsmanager and bring the password, or does the table not have this functionality to fetch data, just save?

    Sorry for the english, this is not my native language.

  • Your lambda function can make calls to Secrets Manager to find the value needed for the query. The role assigned to the lambda function will need the appropriate permissions.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions