HashiCorp
TERRAFORM-ASSOCIATE-004 · Question #23
It is best practice to store secret data in the same version control repository as your Terraform configuration.
The correct answer is B. False. It is not a best practice to store secret data in the same version control repository as your Terraform configuration, as it could expose your sensitive information to unauthorized parties or compromise your security. You should use environment variables, vaults, or other mechani
Submitted by devops_kid· Apr 18, 2026Work with Terraform Configurations
Question
It is best practice to store secret data in the same version control repository as your Terraform configuration.
Options
- ATrue
- BFalse
How the community answered
(21 responses)- A10% (2)
- B90% (19)
Explanation
It is not a best practice to store secret data in the same version control repository as your Terraform configuration, as it could expose your sensitive information to unauthorized parties or compromise your security. You should use environment variables, vaults, or other mechanisms to store and provide secret data to Terraform.
Topics
#Secret management#Security best practices#Sensitive data#Version control
Community Discussion
No community discussion yet for this question.