A generation app uses one external API secret.
Other services in the account must not read it.
Choose two designs.
Separate read roles by secret and application, and audit retrieval, use, rotation, failure, and deletion.
Detailed explanation
Exposure blast radius is limited.
Exposure blast radius is limited.
The secret lifecycle is traceable.
The secret lifecycle is traceable.
All secrets can be read.
All secrets can be read.
Outages and leaks can be amplified.
Outages and leaks can be amplified.
Try it yourself
An example you can run in a temporary verification environment.
AWS Secrets Manager・IAM公式とAIF-C01 Domain 5.1の最小権限を確認する。Expected result
秘密管理サービスの利用と、秘密ごとの読み取り境界を設計できる。Key points
- Secret scope
- Read role
- Audit
Notes
- Environment: AWS公式AIF-C01試験ガイドとAWS公式ドキュメントの確認
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.