凭据环境变量(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.
| 变量 | 类型 | 默认值 | 描述 |
|---|---|---|---|
CREDENTIALS_OVERWRITE_DATA/ _FILE |
* | - | 覆盖凭证。 |
CREDENTIALS_OVERWRITE_ENDPOINT |
字符串 | - | 获取凭证的 API 端点。 |
CREDENTIALS_OVERWRITE_PERSISTENCE |
布尔值 | false |
启用凭证覆盖的数据库持久化。对于多实例或队列模式,这是必需的,以便通过发布/订阅方法将覆盖传播给工作线程。 |
CREDENTIALS_DEFAULT_NAME |
字符串 | My credentials |
凭证的默认名称。 |