AWS Lambda Secrets Manager with ABAC

Lambda using SDKv3 → Secrets Manager

Use attribute-based access control (ABAC) to control access to a secret stored in Secrets Manager.

In this pattern, we explore the use of attribute-based access control (ABAC) to enable access to a secret in AWS Secrets Manager by an AWS Lambda function.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd template.yaml

Deploy

sam deploy --guided


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: sam delete.

Created by:

Josh Kahn

Josh Kahn

Principal Solution Architect @ AWS.