本文へスキップ
Kitbay
スキル公式active

provider-configuration

MPL-2.02026年11月4日 更新925GitHubスター

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

スキルの内容

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.

できること

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