A company is deploying AWS Lambda functions that access an Amazon RDS for PostgreSQL database. The company needs to launch the Lambda functions in a QA
environment and in a production environment.
The company must not expose credentials within application code and must rotate passwords automatically.
Which solution will meet these requirements?
The best solution is to store the database credentials for both environments in AWS Secrets Manager with distinct key entry for the QA environment and the production environment. AWS Secrets Manager is a web service that can securely store, manage, and retrieve secrets, such as database credentials. AWS Secrets Manager also supports automatic rotation of secrets by using Lambda functions or built-in rotation templates. By storing the database credentials for both environments in AWS Secrets Manager, the company can avoid exposing credentials within application code and rotate passwords automatically. By providing a reference to the Secrets Manager key as an environment variable for the Lambda functions, the company can easily access the credentials from the code by using the AWS SDK. This solution meets all the requirements of the company.
Wayne
9 months agoLelia
9 months agoPrecious
10 months agoFlorencia
10 months agoJade
10 months agoLashon
10 months agoVallie
11 months agoFlo
11 months agoSkye
11 months agoHillary
11 months agoPamella
11 months agoLuisa
11 months agoWillodean
11 months agoCordelia
11 months agoJacki
11 months agoOliva
11 months agoGenevieve
11 months agoTrinidad
2 years agoBelen
2 years agoCarlton
2 years agoEsteban
2 years agoBrigette
2 years agoVeda
2 years agoVincenza
2 years ago