Skip to content
Kitbay
SkillOfficialactive

provider-configuration

MPL-2.0Updated on Nov 4, 2026925GitHub stars

A HashiCorp skill for the configuration and authentication part of a Terraform provider built with the Plugin Framework.

What the skill teaches

A HashiCorp skill for the configuration and authentication part of a Terraform provider built with the Plugin Framework. It shows how to declare credential attributes as optional and sensitive, fall back to environment variables, build a credential chain that tries explicit settings, environment, shared credential files and platform identity in order, guard against unknown values in Configure, redact secrets, validate credentials at configure time and write diagnostics that list every source tried. Examples use a fictional provider, with a compilable chain in a reference file.

Capabilities

  • Design provider schemas for credentials
  • Build a credential provider chain
  • Validate credentials during Configure
  • Write clear missing-credential diagnostics
  • Unit test credential resolution