Interview Prep/Terraform/Security, Secrets and Access

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.

All Terraform questions Roadmap: Terraform in production

More on Security, Secrets and Access