Skip to main content
Use the file provider for local development when you want a fast, dependency-free backend.

Environment Variables

VariableRequiredNotes
SECRETS_MANAGER_TYPEYesSet to file.
SECRETS_MANAGER_FILE_PATHNoDefaults to secrets.json in the current working directory.

Local Switch Example

# env_files/secrets.env
SECRETS_MANAGER_TYPE=file
SECRETS_MANAGER_FILE_PATH=/tmp/wonderful-secrets.json
Restart wonderful-secrets after changing these values.

What to Verify

  1. Run the smoke test from Secret Managers.
  2. Confirm the file exists.
  3. Confirm the file includes an entry keyed by host/tenant_id/namespace/key.