ExamGecko
Question list
Search
Search

Question 187 - Terraform Associate 003 discussion

Report
Export

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)

A.

In an HCP Terraform/Terraform Cloud variable, with the sensitive option checked.

Answers
A.

In an HCP Terraform/Terraform Cloud variable, with the sensitive option checked.

B.

In HashiCorp Vault.

Answers
B.

In HashiCorp Vault.

C.

In a terraform.tfvars file, securely managed and shared with your team.

Answers
C.

In a terraform.tfvars file, securely managed and shared with your team.

D.

In a terraform.tfvars file, checked into your version control system.

Answers
D.

In a terraform.tfvars file, checked into your version control system.

E.

In a plaintext document on a shared drive.

Answers
E.

In a plaintext document on a shared drive.

Suggested answer: A, B, C

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.

References:

Terraform Cloud Environment Variables

asked 29/10/2024
Juan Gonzalez
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first