Credentials environment variables
Manage default credentials and override them through environment variables your self-hosted n8n instance.
Credentials environment variables
File-based configuration
You can add _FILE to individual variables to provide their configuration in a separate file. Refer to Keeping sensitive data in separate files for more details.
Enable credential overwrites using the following environment variables. Refer to Credential overwrites for details.
| Variable | Type | Default | Description |
|---|---|---|---|
CREDENTIALS_OVERWRITE_DATA/ _FILE | * | - | Overwrites for credentials. |
CREDENTIALS_OVERWRITE_ENDPOINT | String | - | The API endpoint to fetch credentials. |
CREDENTIALS_OVERWRITE_PERSISTENCE | Boolean | false | Enable database persistence for credential overwrites. Required for multiinstance or queue mode to propagate overwrites to workers through a publish/subscribe approach. |
CREDENTIALS_DEFAULT_NAME | String | My credentials | The default name for credentials. |
Last updated on
