A recreation-department Function should read only the Vault secret that holds the parks database password, not every secret in the compartment. How should the policy be tightened?
Select an answer to reveal the explanation.
Short Explanation
A where clause is a label on the exact cabinet—this secret id or that bucket name—so the Function cannot browse every credential on the floor.
Full Explanation
IAM policy variables such as target.bucket.name, target.secret.id, or defined tags let developers scope access to one resource. A Function that reads one database password should not receive compartment-wide manage on secret-family. Tight where clauses are the developer-facing least-privilege tool.