LW051 Secret environment variable outside profiles.yml
Severity: ErrorFree
An env_var() of a DBT_ENV_SECRET_ variable in a model, a macro, dbt_project.yml or a schema file — dbt™ refuses to render a secret there.
- Free in the editor, guaranteed by contract for 99 years: a diagnostic or a quick fix released free stays free in every later version (EULA, Schedule A).
- Its severity can be changed, or the check switched off, in one setting of the extension or in lineward.toml for the command line.
- In CI, hooks and background agents, the same check runs with lineward check — a paid feature.
How it scores
- Debugging time saved
- Impact
- Time to detection
- Complexity
Our estimates, from 1 to 5, not measurements. Compare it with the other 53 codes →
Part of
- Environment variables dbt™ refuses