A company is developing a high-throughput financial ledger application running on Amazon EKS across multiple AWS accounts. The containerized application pods need access to:
1. A third-party payment gateway API password that must be encrypted at rest and rotated automatically every 45 days.
2. Regional service endpoint URLs (non-sensitive) that must be retrieved with minimal latency and zero additional storage cost.
Additionally, the security team requires that the AWS KMS customer managed key (CMK) used to encrypt the credentials must be rotated annually. The operations team incorrectly believes that this annual rotation will automatically decrypt and re-encrypt all historical database backups and secrets logs using the new key version.
Which combination of configurations should a solutions architect recommend to satisfy these requirements?
- Store the database password in AWS Secrets Manager with automatic rotation configured for 45 days, and retrieve it using the AWS Secrets Manager CSI provider. Store the endpoint URLs as String parameters in AWS Systems Manager Parameter Store. Enable automatic key rotation for the KMS CMK, and clarify to the team that key rotation does not re-encrypt historical data, which remains decryptable using the archived key version.Answer
- BStore the database password as a String parameter in AWS Systems Manager Parameter Store to minimize cost, and retrieve it using an EKS startup script. Store the endpoint URLs in AWS Secrets Manager. Enable automatic key rotation for the KMS CMK, and clarify to the team that key rotation does not re-encrypt historical data, which remains decryptable using the archived key version.
- CStore the database password in AWS Secrets Manager with automatic rotation configured for 45 days, and retrieve it using the AWS Secrets Manager CSI provider. Store the endpoint URLs as String parameters in AWS Systems Manager Parameter Store. Enable automatic key rotation for the KMS CMK, and advise the team that the KMS service will automatically run a background process to decrypt and re-encrypt all historical transaction data under the new key version.
- DStore both the database password and the endpoint URLs as String parameters in AWS Systems Manager Parameter Store to avoid Secrets Manager monthly fees. Enable automatic key rotation for the KMS CMK, and advise the team that the KMS service will automatically run a background process to decrypt and re-encrypt all historical transaction data under the new key version.