Pular para o conteúdo
Kitbay
SkillOficialactive

provider-configuration

MPL-2.0Atualizado em 4 de nov. de 2026925Estrelas no GitHub

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

O que a skill ensina

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.

O que faz

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