You want to use API tokens and other secrets within your team’s Terraform workspaces. Where does HashiCorp recommend you store these sensitive values? (Choose three.)
A.
In a terraform.tfvars file, securely managed and shared with your team.
B.
In HashiCorp Vault.
C.
In a terraform.tfvars file, checked into your version control system.
D.
In a plaintext document on a shared drive.
E.
In an HCP Terraform/Terraform Cloud variable, with the sensitive option checked.
B. In HashiCorp Vault:
HashiCorp Vault is a secure way to store and manage secrets, such as API tokens and credentials, and it integrates well with Terraform.
E. In an HCP Terraform/Terraform Cloud variable, with the sensitive option checked:
Terraform Cloud and HCP Terraform provide a secure way to store sensitive values by marking them as sensitive in workspace variables, preventing these values from being exposed in logs or outputs.
A. In a terraform.tfvars file, securely managed and shared with your team:
Storing sensitive values in a terraform.tfvars file can be acceptable if the file is securely managed and not checked into version control. This file should be shared securely (e.g., encrypted) with your team, but special care is needed to avoid exposing it.
B. In HashiCorp Vault.
E. In an HCP Terraform/Terraform Cloud variable, with the sensitive option checked.
A. In a terraform.tfvars file, securely managed and shared with your team.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
14bbe81
1 month ago14bbe81
1 month ago