[Identity and Access Management]
A company's policy requires that all API keys be encrypted and stored separately from source code in a centralized security account. This security account is managed by the company'ssecurity team However, an audit revealed that an API key is steed with the source code of an IAM Lambda function m an IAM CodeCommit repository in the DevOps account
How should the security learn securely store the API key?
To securely store the API key, the security team should do the following:
Create a secret in AWS Secrets Manager in the security account to store the API key using AWS Key Management Service (AWS KMS) for encryption. This allows the security team to encrypt and manage the API key centrally, and to configure automatic rotation schedules for it.
Grant access to the IAM role used by the Lambda function so that the function can retrieve the key from Secrets Manager and call the API. This allows the security team to avoid storing the API key with the source code, and to use IAM policies to control access to the secret.
Tuyet
5 hours agoDerick
5 days agoAriel
11 days agoBillye
16 days agoGayla
21 days agoThurman
26 days agoRodolfo
1 month agoGlenn
1 month agoLeonardo
1 month agoMeaghan
2 months agoShanda
2 months agoFloyd
2 months agoShawnda
2 months agoRoslyn
2 months agoLawana
2 months agoPaz
3 months agoJules
3 months agoBrandon
3 months agoPaz
4 months agoKeith
4 months agoTheron
4 months agoDalene
4 months agoCharlene
3 months ago