INFRASTRUCTURE DEVELOPMENT / HashiCorp
Provider configuration
Builds a provider Configure method as a credential chain and names every source a failed login tried.
“Implement Terraform provider configuration and authentication with the Plugin Framework: provider schema for credentials (Optional + Sensitive attributes), environment variable fallbacks, credential provider chains (static config, then environment variables, shared credentials file, and platform identity), unknown-value guards in Configure(), secret redaction, configure-time credential validation, and diagnostics that name every source tried. Use when implementing or reviewing a provider's Configure method or provider schema, adding authentication options (API keys, tokens, profiles, credentials files, assume-role), deciding how a provider should resolve credentials, debugging "no valid credential sources" or missing-credentials errors, or unit testing credential resolution.”
01 / THE REASONING
Why this made the selection.
- The inspected headings include a credential provider chain and diagnostics that name every source tried.
- A separate heading covers secret hygiene rather than leaving credentials in error strings.
02 / THE REVIEW RECORD
What we actually inspected.
Source review has boundaries.
A clear record is more useful than a “safe” badge.
Material inspected
- plugins/terraform/skills/provider-configuration/SKILL.md
- README.md
- LICENSE
- plugins/terraform/skills/provider-configuration/references/credential-chain.md
Our findings
- Headings include The Credential Provider Chain and Secret Hygiene.
- Frontmatter name is provider-configuration.
- Credential-chain reference distinguishes incomplete/missing input from malformed explicitly selected files/profiles.
- The chain returns a complete credential set and records source failures for diagnostics.
- A credentials file with loose permissions gets a warning that suggests chmod 0600, except on Windows where the bits are not meaningful.
- Unknown-value guards prevent apply-time credential expressions from being mistaken for empty input and silently falling through to another identity.
Not established by this review
- The skill was not executed inside a host agent.
- Not executed: it was not installed or run.
The review applies to the material and revision named here. A newer upstream release can change its behavior.
03 / PUT IT TO WORK
Add a skill to your workflow.
DOCUMENTED COMMAND
npx skills add hashicorp/agent-skills/plugins/terraform/skills/provider-configuration --skill provider-configuration Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.
Optional: install the reviewed revision
Keeps the original source and installer version where recorded, while leaving your AI tools and installation scope for you to choose.
npx skills@1.7.1 add https://github.com/hashicorp/agent-skills/tree/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/terraform/skills/provider-configuration --skill provider-configuration - Choose your AI tools and project or global installation scope in Skills CLI. The review applies to the source revision shown on this page.
- Retain all supporting files; separately configure companion skills, runtimes and service credentials named in the definition.
- Review the resulting diff and use an isolated target before any migration, deployment, load test or warehouse operation.
Before you start
- Go and Terraform Plugin Framework; synthetic credentials for local tests and scoped credentials only for authorized integration checks.
04 / FOLLOW THE EVIDENCE
The source trail.
Our notes are separate from the original resource.
Check upstream before adopting a new version.
- Skill definition ↗Checked
https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/terraform/skills/provider-configuration/SKILL.md
Supports: Workflow and stated scope
- Repository licence ↗Checked
https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/LICENSE
Supports: Redistribution terms
- Install instructions ↗Checked
https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/README.md
Supports: Documented install path
https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/terraform/skills/provider-configuration/references/credential-chain.md
Supports: review, limitations, access, install
https://raw.githubusercontent.com/hashicorp/agent-skills/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/terraform/skills/provider-configuration/SKILL.md
Supports: review.findings, bestFor