Requirement status of DataLens On-premises secrets
Classification of secrets based on their requirement status:
- 🔴 Required secrets (RSA authentication keys)
- 🟡 Conditionally required secrets
- 🟢 Autogenerated secrets
- ⚪ Optional secrets
🔴 Required secrets (RSA authentication keys)
These secrets are required when authentication is enabled (features.auth.enabled: true, enabled by default).
| Secret | Autogeneration | Format | Description |
|---|---|---|---|
AUTH_TOKEN_PRIVATE_KEY |
✅ On first deployment | RSA 4096-bit PEM | Private key for signing JWT authentication tokens |
AUTH_TOKEN_PUBLIC_KEY |
✅ On first deployment | RSA 4096-bit PEM | Public key for verifying JWT tokens |
Note
When using ./init.sh, these keys are generated automatically. To regenerate, use the --auth-rsa-gen flag.
🟡 Conditionally required secrets
Secrets for Temporal (workbook import or export)
These secrets are required when you enable one of the following features:
features.meta_manager.enabled: truefeatures.export.enabled: truefeatures.usage_tracking.enabled: true
| Secret | Autogeneration | Format | Description |
|---|---|---|---|
TEMPORAL_AUTH_PRIVATE_KEY |
✅ On first deployment | RSA 4096-bit PEM | Private key for authentication in Temporal |
TEMPORAL_AUTH_PUBLIC_KEY |
✅ On first deployment | RSA 4096-bit PEM | Public key for authentication in Temporal |
Note
To regenerate, use the --temporal-rsa-gen flag.
Secret for a private Docker image registry
| Secret | Autogeneration | Format | When it is required |
|---|---|---|---|
DOCKER_CONFIG_JSON |
❌ | JSON (docker config) | If registry.private: true and registry.docker_config.secret.ref is not specified |
🟢 Autogenerated secrets
These secrets are autogenerated on first deployment unless explicitly specified. The values are stored in Kubernetes secrets and reused in subsequent deployments.
Authentication and security secrets
| Secret | Length | Format | Description |
|---|---|---|---|
AUTH_ADMIN_PASSWORD |
32 characters | alphanumeric | System administrator password (admin) |
AUTH_CALLBACK_COOKIE_SECRET |
32 characters | alphanumeric | Cookie encryption key for authentication callbacks |
CSRF_SECRET |
16 characters | alphanumeric | CSRF token generation key for protection against CSRF attacks |
Cross-service communication master tokens
| Secret | Length | Format | Description |
|---|---|---|---|
AUTH_MASTER_TOKEN |
32 characters | alphanumeric | Authorization token for requests to authentication service |
US_MASTER_TOKEN |
32 characters | alphanumeric | Authorization token for requests to United Storage |
FILE_UPLOADER_MASTER_TOKEN |
32 characters | alphanumeric | Authorization token for requests to file upload service |
Encryption keys
| Secret | Length | Format | Description |
|---|---|---|---|
CONTROL_API_CRYPTO_KEY |
32 characters | base64(alphanumeric) | Encryption key for confidential connection data (passwords, tokens) |
EXPORT_DATA_VERIFICATION_KEY |
32 characters | alphanumeric | Data integrity verification key for workbook import and export |
PostgreSQL passwords
| Secret | Length | Description |
|---|---|---|
POSTGRES_PASSWORD_ROOT |
32 characters | PostgreSQL superuser password |
POSTGRES_PASSWORD_US |
32 characters | United Storage DB password (metadata) |
POSTGRES_PASSWORD_COMPENG |
32 characters | Computation engine DB password |
POSTGRES_PASSWORD_AUTH |
32 characters | Authentication service DB password |
POSTGRES_PASSWORD_TEMPORAL |
32 characters | Temporal DB password |
POSTGRES_PASSWORD_META_MANAGER |
32 characters | Meta Manager DB password |
POSTGRES_PASSWORD_DEMO |
32 characters | Demo database password |
Infrastructure component passwords
| Secret | Length | When is it used | Description |
|---|---|---|---|
CLICKHOUSE_PASSWORD |
32 characters by default | If features.files.enabled or features.usage_tracking.enabled |
ClickHouse® user password |
REDIS_PASSWORD |
64 characters by default | If features.files.enabled, features.cache.enabled, or features.background_exports.enabled |
Valkey™ password |
S3_ACCESS_KEY_ID |
strictly 32 characters | If features.files.enabled or features.background_exports.enabled |
Access key ID for S3 (MinIO) |
S3_SECRET_ACCESS_KEY |
strictly 64 characters | If features.files.enabled or features.background_exports.enabled |
Secret access key for S3 (MinIO) |
⚪ Optional secrets
| Secret | Format | Description |
|---|---|---|
AUTH_PROVIDERS_CONFIG |
JSON array | Configuration of external authentication providers (LDAP, OIDC). The default value is an empty array ([]). |
secrets.ref |
string | Link to an existing Kubernetes secret to use instead of creating a new one |
ClickHouse® is a registered trademark of ClickHouse, Inc.
Previous
Next