TERRAFORM-ASSOCIATE-004 · Question #188
TERRAFORM-ASSOCIATE-004 Question #188: Real Exam Question with Answer & Explanation
The correct answer is A: In an HCP Terraform/Terraform Cloud variable, with the sensitive option checked.. Sensitive values such as API tokens should be stored in a secure way, either in Terraform Cloud variables marked as sensitive or in HashiCorp Vault. Storing secrets in version control systems or plaintext files is not recommended.
Question
You want to use API tokens and other secrets within your team's Terraform workspaces. Where does HashiCorp recommend you store these sensitive values? (Pick the 3 correct responses)
Options
- AIn an HCP Terraform/Terraform Cloud variable, with the sensitive option checked.
- BIn HashiCorp Vault.
- CIn a terraform.tfvars file, securely managed and shared with your team.
- DIn a terraform.tfvars file, checked into your version control system.
- EIn a plaintext document on a shared drive.
Explanation
Sensitive values such as API tokens should be stored in a secure way, either in Terraform Cloud variables marked as sensitive or in HashiCorp Vault. Storing secrets in version control systems or plaintext files is not recommended.
Topics
Community Discussion
No community discussion yet for this question.