Redaction
Keep secret values out of terminal output.
Usage
redacted = true marks a value for output redaction. Your app receives the real value while matching terminal output shows [REDACTED]. Redaction is off by default. redact is an alias.
[env.DATABASE_URL]
required = true
redacted = true
[env.PORT]
type = "port"
storage = "plaintext"
redacted = false
Set redacted = true at the root to apply redaction by default. A variable table can override that setting. Dotenvx applies the rules when running your app.
Configure storage and redaction independently.