Which solution will meet these requirements?

1 Comment

  1. Billy
    Author

    If I’m correct, the answer is:
    Create an AWS Secrets Manager secret for the database credentials encrypted with a KMS key. Modify the Lambda function to retrieve the secret from Secrets Manager. Attach a custom IAM policy to the Lambda function execution role to allow access to secretsmanager:GetSecretValue from the secret’s Amazon Resource Name (ARN) and to allow access to kms:Decrypt from the KMS key’s ARN.

Leave a Reply to Billy Cancel reply

Your email address will not be published. Required fields are marked *

fifteen − 13 =