What are dynamic provider credentials in HCP Terraform?
IntermediateProductionSecurity, Secrets and Access
Answer
HCP Terraform workspaces authenticate to AWS, Azure or GCP through OIDC with a short-lived token per run, configured by environment variables like TFC_AWS_PROVIDER_AUTH and TFC_AWS_RUN_ROLE_ARN. No static cloud keys are stored in the workspace, and trust can be limited per project, workspace or run phase.
More on Security, Secrets and Access
How do you avoid hardcoded credentials in Terraform?BeginnerIs reading a secret with a data source safe?IntermediateHow do ephemeral resources and write-only arguments keep secrets out of state?AdvancedWhat is the better pattern for RDS master passwords?BeginnerHow do you scope IAM for the Terraform deploy role?IntermediateHow do you defend against supply-chain risk in providers and modules?Advanced