secretishKeyPatterns top-level constant

List<String> const secretishKeyPatterns

Secret-ish dart-define key patterns (ADR-0014).

A tested constant, not tribal knowledge: a dart-define key matching any pattern (case-insensitive substring) is a failure in the doctor audit. The three-tier model (ADR-0014) treats --dart-define / --dart-define-from-file values as compiler-baked constants recoverable from the shipped binary — so they must never carry credential contents.

Implementation

const List<String> secretishKeyPatterns = [
  'password',
  'token',
  'secret',
  'apikey',
  'api_key',
  'private_key',
  'privatekey',
  'client_secret',
];