Interview Prep/AWS/Security Services and Data Protection

How do you manage application secrets in production?

BeginnerProductionSecurity Services and Data Protection
Answer

AWS Secrets Manager for credentials that rotate (database passwords, API keys), encrypted with a customer managed key, access per secret via resource policy and role policy, fetched at runtime by the app with caching (Secrets Manager caching libraries or the Lambda extension). For RDS, let RDS manage the master password in Secrets Manager (--manage-master-user-password) with automatic rotation. Plain configuration goes to SSM Parameter Store. Never put secrets in environment variables in plaintext, AMIs, images or Git.

aws All AWS questions

More on Security Services and Data Protection