Security and Compliance

An application caches database credentials briefly, so previously retrieved credentials must remain usable while it refreshes after rotation. Its database supports cloned users, and the application must not receive administrative credentials; which Secrets Manager rotation design best meets these requirements?

Show the answer

Correct answerC. Use alternating-users rotation with administrative credentials stored in a separate secret.

AWhy not this: AWSPREVIOUS retains the old secret value but does not keep the replaced database password valid.

BWhy not this: Including administrative credentials in the application secret exposes privileges the application must not receive.

CWhy this is right: Alternating users support overlapping credential validity, while a separate administrative secret isolates elevated access.

DWhy not this: Single-user rotation changes the active user's password, and application access to administrator credentials violates the requirement.

Alternating-users rotation updates the inactive user's credentials while the other user's credentials remain usable during the transition. A separate administrative secret supports rotation without exposing elevated credentials to the application. AWSPREVIOUS preserves a secret value, not its validity in the database.