Question 240
A security team implements a secret and key separation of duties. The team confirms that a credential manager needs rotation for an unsupported external service. Which next design step is best?
Explanation
Correct Answer
The scenario identifies this requirement: A credential manager needs rotation for an unsupported external service. Select Implement a custom rotation Lambda with controlled permissions and rollback as the specified technical mechanism. Secrets Manager rotation workflows can invoke approved custom logic. This response addresses the problem described rather than a different design goal.
Incorrect Answers
The option Store the secret in Secrets Manager and inject it securely at runtime addresses a separate condition: the app's database credential is embedded inside a container image. Runtime secret access avoids shipping credentials within images. The actual requirement is a credential manager needs rotation for an unsupported external service. Recommended corrective action: Implement a custom rotation Lambda with controlled permissions and rollback. Secrets Manager rotation workflows can invoke approved custom logic.
Separate key administration and key usage permissions would help if developers can modify KMS key policy and decrypt sensitive records. Administrative KMS privileges need not include data decrypt rights. That is not the symptom described here: a credential manager needs rotation for an unsupported external service. The matching response is Implement a custom rotation Lambda with controlled permissions and rollback, because secrets Manager rotation workflows can invoke approved custom logic.
Use version-aware secret retrieval with a bounded cache and reconnection logic solves a different operational problem where an application requires a secret refresh after a scheduled rotation. Rotated values must propagate to consumers safely. It does not directly address a credential manager needs rotation for an unsupported external service. The case calls for Implement a custom rotation Lambda with controlled permissions and rollback, since secrets Manager rotation workflows can invoke approved custom logic.