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.
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
7 months agoMolly1994
10 months, 4 weeks agoJayanth
1 year, 9 months agotfdestroy
1 year, 9 months agoBusi57
1 year, 9 months agoIK912
1 year, 10 months agokarendavtyan
1 year, 11 months agocamps
2 years agoNunyabiznes
2 years, 1 month agoMulti_Cloud
2 years, 1 month agoEltooth
2 years, 9 months agofabiomlop
2 years, 10 months agoEniras
2 years, 11 months ago