You want to use API tokens and other secrets within your team’s Terraform workspaces. Where does HashiCorp recommend you store these sensitive values? (Choose three.)
You want to use API tokens and other secrets within your team’s Terraform workspaces. Where does HashiCorp recommend you store these sensitive values? (Choose three.)
B. In HashiCorp Vault. E. In an HCP Terraform/Terraform Cloud variable, with the sensitive option checked. A. In a terraform.tfvars file, securely managed and shared with your team.
B. In HashiCorp Vault: HashiCorp Vault is a secure way to store and manage secrets, such as API tokens and credentials, and it integrates well with Terraform. E. In an HCP Terraform/Terraform Cloud variable, with the sensitive option checked: Terraform Cloud and HCP Terraform provide a secure way to store sensitive values by marking them as sensitive in workspace variables, preventing these values from being exposed in logs or outputs. A. In a terraform.tfvars file, securely managed and shared with your team: Storing sensitive values in a terraform.tfvars file can be acceptable if the file is securely managed and not checked into version control. This file should be shared securely (e.g., encrypted) with your team, but special care is needed to avoid exposing it.