SRINILREDDY/aws-lambda-secrets-manager

GitHub: SRINILREDDY/aws-lambda-secrets-manager

Stars: 1 | Forks: 0

# AWS Lambda Secrets Manager Example This project demonstrates how to fetch secrets securely from AWS Secrets Manager using AWS Lambda and Python. ## Services Used - AWS Lambda - AWS Secrets Manager - IAM - Python boto3 SDK ## Project Structure get-secret-function/ │ ├── lambda_function.py ├── requirements.txt └── README.md ## Lambda Function The Lambda function retrieves secrets from AWS Secrets Manager. ## Setup 1. Create a secret in AWS Secrets Manager 2. Create Lambda function 3. Attach IAM permission: - SecretsManagerReadWrite 4. Deploy code 5. Test Lambda ## Example Response { "statusCode": 200, "body": { "message": "Secret fetched successfully" } } ## Author # Srini Reddy # aws-lambda-secrets-manager AWS Lambda project using AWS Secrets Manager and Python