QuestionQ36

VerifiedSecurity

A company is developing a serverless application that requires storage of sensitive API keys as environment variables for various services. The application requires the automatic rotation of the encryption keys every year.

Which solution will meet these requirements with no development effort?

Explanation

The requirement is annual rotation of the encryption keys used to protect the environment variables, not rotation of the secret values themselves. AWS KMS customer managed keys support automatic key rotation, which rotates the underlying key material every year with a single setting and zero code to write or maintain. Secrets Manager can encrypt and rotate secret values, but for a generic API key it requires authoring a custom Lambda rotation function, which is development effort the requirement rules out.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!