It is generally considered insecure to store secret data, such as passwords, API keys, and other sensitive information, in the same version control repository as your Terraform configuration. This is because version control repositories are often publicly accessible, and if sensitive information is stored in the repository it can be easily accessed by unauthorized individuals. Additionally, version control repositories typically have a history of all changes made to files, so even if sensitive information is deleted at a later point, it can still be retrieved from the repository history. To properly secure secret data, it is recommended to store it in a secure and encrypted format, such as in a secure vault or by using a tool specifically designed for storing secrets.
B: It is not recommended to store secret data such as passwords, API keys, or other sensitive information in your version control system (VCS). This is a general best practice in software development, not just with Terraform.
B. False
Storing secret data in the same version control repository as Terraform configuration is not recommended as it increases the risk of exposing sensitive information. Version control systems are designed for sharing and collaboration, which means that they may not have robust security mechanisms to protect against unauthorized access.
I know it is not recommended, but technically you really "could" store it. SO, this is kinda confusing since it is not asking for Best Security Practices, but just want to check if it is possible or not
If you re-read the question it says, You "should" - which means the answer should be B - false.
Had it been "could/might" your argument would have been correct.
It's false. Your secrets are stored in a dedicated secret store that enforces encryption and strict access control.
upvoted 3 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.
SilentMilli
1 month, 4 weeks agoMolly1994
5 months, 3 weeks agoJayanth
1 year, 3 months agotfdestroy
1 year, 3 months agoBusi57
1 year, 4 months agoIK912
1 year, 5 months agokarendavtyan
1 year, 6 months agocamps
1 year, 7 months agoNunyabiznes
1 year, 8 months agoMulti_Cloud
1 year, 8 months agoEltooth
2 years, 4 months agofabiomlop
2 years, 5 months agoEniras
2 years, 6 months ago