Configuration and time · rule
configuration.secret_default
Secret setting has a value in source.
Area 10, Configuration and time; not declinable; the next step is usually the agent's.
type PartnerKey = Text { min_length: 8}config { api_key: PartnerKey { secret: true default: "development-key" }}
error: `api_key` is secret, and has a `default:` in source --> main.jadpo:8:9 |8 | default: "development-key" | ^^^^^^^ a secret written in source reason: A secret's value comes only from the deployment's environment, so a forgotten production secret stops the app instead of falling back to a value written in source; `jadpo test` generates its own for a test run, so it needs no `default:` either. next: Remove `default:` from `api_key` (agent) rule: configuration.secret_default help: https://jadpo.dev/docs/errors/configuration.secret_defaultcheck failed: 1 error, 1 file
Markdown for agents: /docs/errors/configuration.secret_default.md.Built from Jadpo main at a707efb.