Question 420
A platform needs on-demand credentials from Vault during infrastructure operations rather than hard-coded API secrets in source control. Which action most directly satisfies the requirement in this situation?
Explanation
Correct Answer
A secrets manager centralizes issuance and policy; Terraform storage still requires careful treatment. The run receives temporary credentials without a committed plaintext secret in the repository.
Incorrect Answers
Terraform expressions connect dependent resources without copying generated identifiers. The run receives temporary credentials without a committed plaintext secret in the repository.
Merge combines maps with later arguments taking precedence on duplicate keys. Use an approved Vault integration with least-privilege access and ephemeral handling where supported.
Prevent_destroy blocks planned destroys while the lifecycle rule is present. A secrets manager centralizes issuance and policy; Terraform storage still requires careful treatment.