An inference service uses an external model API secret.
Limit impact if it leaks.
Choose two practices.
Store secrets in a managed service, grant only the required role, rotate and revoke old values, and monitor retrieval failures.
Detailed explanation
Secrets stay out of source and logs.
Secrets stay out of source and logs.
The secret lifecycle is controlled.
The secret lifecycle is controlled.
Leak response becomes difficult.
Leak response becomes difficult.
Compromise impact remains.
Compromise impact remains.
Try it yourself
An example you can run in a temporary verification environment.
AWS公式AIF-C01 Domain 5.1のSecrets Manager、IAM、秘密ローテーションを確認する。Expected result
推論サービスの秘密を安全に保管・取得・更新・失効できる。Key points
- Secret management
- Rotation
- Revocation
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.