Zum Inhalt springen
Kitbay
SkillOffiziellactive

provider-configuration

MPL-2.0Aktualisiert am 4. Nov. 2026925GitHub-Sterne

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

Was der Skill vermittelt

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.

Funktionen

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