TERRAFORM-ASSOCIATE-004 · Question #82
TERRAFORM-ASSOCIATE-004 Question #82: Real Exam Question with Answer & Explanation
The correct answer is A: Using environment variables. When using environment variables to provide authentication credentials, Terraform does not store these credentials in the state file. This is a secure method of passing sensitive information to Terraform because the credentials are not directly managed by Terraform itself, reduci
Question
Which provider authentication method prevents credentials from being stored in the state file?
Options
- AUsing environment variables
- BSpecifying the login credentials in the provider block
- CSetting credentials as Terraform variables
- DNone of the above
Explanation
When using environment variables to provide authentication credentials, Terraform does not store these credentials in the state file. This is a secure method of passing sensitive information to Terraform because the credentials are not directly managed by Terraform itself, reducing the risk of exposing them inadvertently.
Topics
Community Discussion
No community discussion yet for this question.