External secrets for Kubernetes¶
DataRobot supports external secret management through two primary operators: External Secrets Operator (ESO) and Vault Secrets Operator (VSO). These operators integrate an external secret store, such as HashiCorp Vault, with Kubernetes, providing a secure way to manage sensitive configuration data without storing secrets directly in your cluster.
For MongoDB and PostgreSQL passwords and the auth server system secrets specifically, DataRobot also supports referencing pre-existing Kubernetes Secrets directly without requiring ESO or VSO. This is useful when secrets are already provisioned in the cluster through tooling such as Sealed Secrets, SOPS, Ansible Vault, or HashiCorp Vault and DataRobot is just a consumer of it.
Overview¶
Both External Secrets Operator and Vault Secrets Operator allow you to:
- Fetch secrets from external secret stores
- Automatically sync secrets into Kubernetes Secret objects
- Maintain separation between your application configuration and sensitive data
- Leverage your existing secret management infrastructure
Prerequisites¶
Before configuring external secret operators for your DataRobot installation:
- Kubernetes cluster with External Secrets Operator or Vault Secrets Operator installed
- Access to a secret store that meets the secret store requirements
- Appropriate IAM/RBAC permissions for the operator to access your secret store
Secret store requirements¶
By default, the chart reads each secret from the store key <path>/<secret-name>, where <path> is global.externalSecretStore.path (default /datarobot). With path: "/common/datarobot", as in the examples below, the store key for the Redis password is /common/datarobot/pcs-redis. The chart always inserts a / between the path and the secret name, so the store and its ESO provider must resolve keys that contain /, and path must not end with /, or the key gets a double slash, such as /common/datarobot//pcs-redis. The value under each store key is a JSON object with the fields listed in Secrets. VSO reads only from HashiCorp Vault, so with VSO the HashiCorp Vault row applies.
The following table shows which secret stores meet these requirements.
| Secret store (ESO provider) | Supported | Notes |
|---|---|---|
HashiCorp Vault KV v2 (vault) |
Yes | Community Edition is sufficient. With ESO, set the KV mount as the store's vault.path (global.externalSecretStore.provider.vault.path when the chart creates the store). With VSO, set it in global.externalSecretStore.vso.mount (default kv). Write each secret under that mount, for example kv/common/datarobot/pcs-redis. |
AWS Secrets Manager (aws, service: SecretsManager) |
Yes | Name each secret with the full store key, including the leading /, for example /common/datarobot/pcs-redis. Do not set a store prefix. |
Azure Key Vault (azurekv) |
No | Key Vault secret names cannot contain /, and ESO treats the text before the first / as the object type (secret, key, or cert). |
Google Cloud Secret Manager (gcpsm) |
No | Secret IDs cannot contain /. |
Kubernetes Secrets (kubernetes) |
No | ESO uses the store key as the Secret name, and Secret names cannot contain /. |
For MongoDB, PostgreSQL, and the auth server system secrets only, the chart can read existing Kubernetes Secrets without ESO or VSO. For more information, see Using pre-existing Kubernetes secrets.
ESO API version
The chart renders ExternalSecret objects as external-secrets.io/v1beta1 by default, and ESO 0.17.0 and later no longer serve that version. On those releases, set global.externalSecretStore.apiVersion to external-secrets.io/v1, omit global.externalSecretStore.provider, and create an external-secrets.io/v1 store yourself, named to match global.externalSecretStore.name. The SecretStore that the chart creates from provider is always v1beta1. ESO 0.15.x and earlier don't serve external-secrets.io/v1, so keep the default on those releases.
Configuring external secrets operator¶
ESO 0.17.0 and later
The example below sets provider, which works only on ESO earlier than 0.17.0. On ESO 0.17.0 and later, follow the ESO API version note in Secret store requirements.
To configure External Secrets Operator with DataRobot Helm chart, create an override values file:
# values-override.yaml
auth-server:
secretManager:
secretStore:
# -- Name of external secret store
name: "external-secret-store"
useExistingSecretStore: true
auth-token-customization:
hydra:
secret:
enabled: false
secretManager:
externalSecret:
name: auth-server-system-secrets
secretStore:
# -- Name of external secret store
name: "external-secret-store"
useExistingSecretStore: true
global:
externalSecretStore:
# -- Enable external secret store
enabled: true
engine: eso
# -- Kind of external secret store ClusterSecretStore/SecretStore
kind: "SecretStore"
# -- Name of external secret store
name: "external-secret-store"
# -- Path to external secret store
path: "/common/datarobot"
provider:
vault:
auth:
# - Example of using kubernetes auth engine
kubernetes:
mountPath: eso
role: vault-secrets-operator
serviceAccountRef:
name: externalsecrets-sa
# -- Optional field containing a base64 encoded string of the Certificate Authority to trust the Vault connection
caBundle: >-
LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJiekNDQVJhZ0F3SUJBZ0
...
YyZUgyTjVEdzc2bzlySUF0Nkk9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
path: /kv
server: https://vault.vault:8200
version: v2
Store kind
When global.externalSecretStore.provider is set, the chart creates a namespaced SecretStore, so kind must be SecretStore, as in the example above. The chart default is ClusterSecretStore. Use it only if you omit provider and create the ClusterSecretStore yourself.
Configuring Vault secrets operator¶
To configure Vault Secrets Operator with DataRobot Helm chart, create an override values file:
# values-override.yaml
auth-server:
secretManager:
secretStore:
# -- Name of external secret store
name: "external-secret-store"
useExistingSecretStore: true
auth-token-customization:
hydra:
secret:
enabled: false
secretManager:
externalSecret:
name: auth-server-system-secrets
secretStore:
# -- Name of external secret store
name: "external-secret-store"
useExistingSecretStore: true
global:
externalSecretStore:
enabled: true
engine: vso
path: "/common/datarobot"
refreshInterval: "42s"
vso:
# -- spec for VaultConnection https://developer.hashicorp.com/vault/docs/deploy/kubernetes/vso/api-reference#vaultconnectionspec
connection:
address: https://vault.vault:8200
skipTLSVerify: true
# -- spec for VaultAuth https://developer.hashicorp.com/vault/docs/deploy/kubernetes/vso/api-reference#vaultauthspec
auth:
name: vault-auth-cfg
spec:
# - Example of using kubernetes auth engine
method: kubernetes
mount: vso
kubernetes:
role: vault-secrets-operator
serviceAccount: externalsecrets-sa
audiences:
- vault
Note Vault Authentication configuration must be defined based on your vault configuration using one of the following methods
kubernetes, jwt, appRole, aws, gcp
Using pre-existing Kubernetes secrets¶
If you already manage Kubernetes Secret objects outside the DataRobot Helm chart, you can configure DataRobot to reference those secrets directly. This approach does not require ESO or VSO, and instructs the chart to skip creating its own pcs-mongo, pcs-postgresql, and auth-server-system-secrets secrets.
MongoDB¶
Set global.mongodb.auth.existingSecret to the name of your pre-existing Kubernetes Secret. The chart expects the MongoDB root password to be stored under the key mongodb-root-password by default. If your secret uses a different key name, specify it via global.mongodb.auth.existingSecretKeys.password.
PostgreSQL¶
Set global.postgresql.auth.existingSecret to the name of your pre-existing Kubernetes Secret. The chart expects the PostgreSQL superuser password under the key postgres-password by default. If your secret uses a different key name, specify it via global.postgresql.auth.existingSecretKeys.postgres-password.
Note:
global.postgresql.auth.existingSecretonly controls whether the chart creates thepcs-postgresqlsecret. The flagglobal.postgresql.auth.externalSecret: "true"is reserved for ESO/VSO workflows; when set, it overridesexistingSecretand forces the chart to usepcs-postgresql.
Auth server system secrets¶
The auth server needs two keys: secretsSystem, the master key protecting stored application secrets at rest, and secretsCookie, which signs session cookies. When the auth server runs in FIPS 140-3 mode, it also needs a third key, secretsPagination, which protects the tokens it uses to page through long lists, and the active entry of secretsCookie must differ from that of secretsSystem. In Release 11.15 and later, the auth server runs in FIPS mode when global.fips.enabled is true, unless auth-token-customization.hydra.fips.enabled overrides it. In Release 11.14, it runs in FIPS mode only when auth-token-customization.hydra.fips.enabled is true.
On a standard helm install or helm upgrade the chart generates these for you on the first install and reuses them on every later upgrade, so most installations need no action.
You must supply them yourself when the manifests are rendered without access to the cluster—ArgoCD or any other workflow built on helm template. A renderer with no cluster access cannot distinguish a first install from a later sync, so generating a key there would produce a different value every time and invalidate every issued token. When that happens the chart fails to render with instructions rather than installing a shared default. Alternatively, you can supply these yourself on a standard install, keeping key material in your own secret management system.
Create the Secret before installing, then set auth-token-customization.hydra.secret.enabled: false. The Secret must be in the DataRobot namespace and named to match auth-token-customization.hydra.secret.nameOverride, which defaults to auth-server-system-secrets:
kubectl create secret -n ${NAMESPACE} generic auth-server-system-secrets \
--from-literal=secretsSystem="$(openssl rand -base64 32)" \
--from-literal=secretsCookie="$(openssl rand -base64 32)"
If FIPS mode is on, add --from-literal=secretsPagination="$(openssl rand -base64 32)" to the command.
When an external secret store is enabled, the chart creates an ExternalSecret named auth-server-system-secrets that reads every property of the store entry with the same name. Store secretsSystem and secretsCookie as properties of that entry. If FIPS mode is on, also store secretsPagination.
Update the Secret before you turn on FIPS mode
The chart can't add keys to a Secret it doesn't create. Before you turn on FIPS mode, update the Secret to meet the FIPS mode requirements. If you use ESO or VSO, make the changes in the secret store entry and wait for them to sync. Otherwise, the auth server pod stays in CreateContainerConfigError, or exits at startup, and sign-in fails.
In Release 11.15 and later, with either Secret source, global.fips.enabled: true fails the Helm render until you set auth-token-customization.hydra.fips.enabled explicitly: true after you update the Secret, or false to keep the auth server out of FIPS mode. See Auth server FIPS 140-3 mode and FIPS 140-3 Helm values.
Do not reuse these keys across environments, and include the Secret in your backup procedure: it exists only in the cluster, and losing it means losing everything encrypted under it. To check or rotate the keys on an existing installation, see Rotate auth server system secrets.
ArgoCD installs must supply these keys
ArgoCD renders with helm template, so the chart cannot generate or reuse these keys. Supply them with either the Secret above or the External Secrets configuration, before the first sync. Otherwise the Application fails to render with a message naming both options. Nothing is applied on a render failure, so a running deployment is unaffected until you supply them.
Previewing an install
helm template and helm install --dry-run cannot reach the cluster, so on a fresh install with default values they report that these keys have no safe source. This is expected. Use helm install --dry-run=server to preview, or supply the keys explicitly.
Rotate auth server system secrets¶
To check whether an installation still uses the shared default keys, and to rotate them, see Rotate auth server system secrets. Never replace secretsSystem outright—the auth server's signing keys are encrypted under it.
Example values-override.yaml¶
# values-override.yaml
global:
mongodb:
auth:
# Name of the pre-existing Kubernetes Secret containing MongoDB credentials.
# When set, the chart will NOT create the 'pcs-mongo' secret.
existingSecret: my-mongo-secret
existingSecretKeys:
# Key within the secret that holds the MongoDB root password.
# Defaults to 'mongodb-root-password' if omitted.
password: my-mongodb-password-key
postgresql:
auth:
# Name of the pre-existing Kubernetes Secret containing PostgreSQL credentials.
# When set, the chart will NOT create the 'pcs-postgresql' secret.
externalSecret: false
existingSecret: my-postgres-secret
existingSecretKeys:
# Key within the secret that holds the PostgreSQL superuser password.
# Defaults to 'postgres-password' if omitted.
postgres-password: my-postgres-password-key
If buzok/genAI needs to be enabled, add the following blocks for charts to read existing secret from global block
buzok-web:
secrets:
globalOverridesEnabled: true
buzok-worker:
secrets:
globalOverridesEnabled: true
Required secret contents¶
Your pre-existing secrets must contain the following keys (or the custom names you configure via existingSecretKeys):
MongoDB secret¶
| Key (default) | Configurable via | Description |
|---|---|---|
mongodb-root-username |
— | MongoDB superuser username |
mongodb-root-password |
existingSecretKeys.password |
MongoDB superuser password |
mongodb-replica-set-key |
— | Shared secret used by MongoDB replica set members |
PostgreSQL secret¶
| Key (default) | Configurable via | Description |
|---|---|---|
postgres-password |
existingSecretKeys["postgres-password"] |
PostgreSQL superuser (postgres) password |
username |
— | DataRobot application database username |
password |
— | DataRobot application database password |
database |
— | DataRobot application database name |
repmgr-username |
— | Replication manager username |
repmgr-password |
— | Replication manager password |
Auth server system secrets¶
| Key | Description |
|---|---|
secretsSystem |
Master key protecting stored application secrets at rest. Random alphanumeric, minimum 32 characters. |
secretsCookie |
Signing and encryption key for authentication cookies. Random alphanumeric, minimum 32 characters. |
Secrets¶
For PostgreSQL, the secret store holds the superuser and application credentials (pcs-postgresql), the pgpool credentials (pcs-pgpool), and one pcs-db-DATABASE entry for each database in global.databases, where DATABASE is the database name. Earlier releases also require four derived entries. See Obsolete secrets.
In Release 11.15 and later, the following components read these entries, so adding a database requires only its pcs-db-DATABASE entry:
- Database provisioning, the
init-pcsinit container of thecore-integration-tasks-migrationpods, creates each database and role when the pods start. - The pgpool pods build the pgpool user list when they start.
- With CloudNativePG, the database sync Job,
pcs-cnpg-db-sync-*, creates the roles and databases in the CloudNativePG cluster on every upgrade.
With Argo CD, the core-integration-tasks-migration pods don't restart when you add a database. Helm restarts them by changing the datarobot.com/helm-revision pod annotation on each upgrade, but Argo CD renders the chart with helm template, so the annotation never changes. After Argo CD syncs the change, restart the pods yourself:
kubectl rollout restart deployment/core-integration-tasks-migration -n ${NAMESPACE}
kubectl rollout status deployment/core-integration-tasks-migration -n ${NAMESPACE} --timeout 15m
The following secrets need to be populated in the chosen secret management system for ESO/VSO configurations:
/common/datarobot/ui-admin-credentials¶
{
"fqdn": "DR_WEBPAGE_FQDN",
"password": "ADMIN_USER_PASSWORD",
"username": "ADMIN_USER_EMAIL"
}
DR_WEBPAGE_FQDN: The Fully-qualified domain name (FQDN) of the web portal where users log in (e.g., datarobot-app.company-name.com).
ADMIN_USER_EMAIL: The email address for the initial administrative user in the web portal (e.g., admin@datarobot.com).
ADMIN_USER_PASSWORD: The password for the initial administrative user.
/common/datarobot/datarobot-license¶
{
"license": "DR_LICENSE_CONTENT"
}
DR_LICENSE_CONTENT : The encrypted content of the DataRobot license file.
/common/datarobot/core-credentials¶
{
"asymmetrickey": "DATAROBOT_ASYMMETRIC_KEY",
"drsecurekey": "DATAROBOT_DRSECURE_KEY"
}
DATAROBOT_ASYMMETRIC_KEY: The secure key used by the DataRobot application. Must adhere to the format: aeshex256:<AES-256 key>
DATAROBOT_DRSECURE_KEY: The asymmetric key required by the DataRobot application. Must adhere to the format: aeshex256:<AES-256 keys>
/common/datarobot/mmapp-credentials¶
{
"password": "MMAPP_PASSWORD"
}
MMAPP_PASSWORD: The password for the MMApp service. Must be a random 42-character string.
/common/datarobot/datarobot-image-pullsecret¶
The last part of the store key is the value of global.imageCredentials.name (default datarobot-image-pullsecret), so the key must match the name you set. With the default name, the chart does not read a key named datarobot-image-pull-secret; create the secret as datarobot-image-pullsecret instead. The chart requests this secret only when global.imageCredentials.externalSecret is true (the default).
{
".dockerconfigjson": "DOCKER_CONFIG_JSON"
}
DOCKER_CONFIG_JSON: The registry login configuration file in the JSON file that holds an authorization token. For more details see: Interpretation of config.json
/common/datarobot/pcs-redis¶
{
"redis-password": "REDIS_PASSWORD"
}
REDIS_PASSWORD: The password for the Redis database. Must be a random, alphanumeric string with a minimum length of 24 characters.
/common/datarobot/pcs-elasticsearch¶
{
"elasticsearch-password": "ELASTICSEARCH_PASSWORD"
}
ELASTICSEARCH_PASSWORD: The password for the Elasticsearch database. Must be a random, alphanumeric string with a minimum length of 24 characters.
/common/datarobot/pcs-mongo¶
{
"mongodb-replica-set-key": "MONGODB_REPLICA_SET_KEY",
"mongodb-root-password": "MONGODB_ROOT_PASSWORD",
"mongodb-root-username": "MONGODB_ROOT_USERNAME"
}
MONGODB_REPLICA_SET_KEY: The key for the MongoDB replica set. Must be a random, alphanumeric string with a minimum length of 42 characters.
MONGODB_ROOT_PASSWORD: The password for the MongoDB database. Must be a random, alphanumeric string with a minimum length of 24 characters.
MONGODB_USERNAME: The username for the MongoDB database instance. Example: pcs-mongodb.
/common/datarobot/pcs-rabbitmq¶
{
"rabbitmq-erlang-cookie": "RABBITMQ_ERLANG_COOKIE",
"rabbitmq-password": "RABBITMQ_PASSWORD",
"rabbitmq-username": "RABBITMQ_USERNAME"
}
RABBITMQ_ERLANG_COOKIE: The shared secret (cookie) used by Erlang nodes for inter-node authentication and clustering in the RabbitMQ environment. Must be a random, alphanumeric string with a minimum length of 32 characters.
RABBITMQ_PASSWORD: The password for the RabbitMQ database. Must be a random, alphanumeric string with a minimum length of 24 characters.
RABBITMQ_USERNAME: The username for the RabbitMQ database instance. Example: pcs-rabbitmq.
/common/datarobot/pcs-postgresql¶
{
"database": "datarobot",
"password": "POSTGRESQL_PASSWORD",
"postgres-password": "POSTGRESQL_PASSWORD",
"postgres-username": "postgres",
"repmgr-password": "REPMGR_PASSWORD",
"repmgr-username": "repmgr",
"username": "datarobot"
}
POSTGRESQL_PASSWORD: The password for the PostgreSQL database. Must be a random, alphanumeric string with a minimum length of 24 characters.
REPMGR_PASSWORD: The password for the PostgreSQL repmgr database user. This user is essential for managing replication and failover in the HA setup. Must be a random, alphanumeric string with a minimum length of 24 characters.
/common/datarobot/pcs-pgpool¶
{
"admin-password": "PGPOOL_PASSWORD",
"sr-check-password": "POSTGRESQL_PASSWORD"
}
PGPOOL_PASSWORD: The password for the PgPool service user, typically used for connecting to and managing the PostgreSQL cluster. Must be a random, alphanumeric string with a minimum length of 24 characters.
POSTGRESQL_PASSWORD: The password for the PostgreSQL database. Must be the same as set for /common/datarobot/pcs-postgresql.
/common/datarobot/pcs-db-apigateway¶
{
"database": "apigateway",
"password": "APIGATEWAY_PASSWORD",
"username": "apigateway"
}
APIGATEWAY_PASSWORD: The password for the apigateway database. Must be a random, alphanumeric string with a minimum length of 24 characters.
/common/datarobot/pcs-db-buildservice¶
{
"database": "buildservice",
"password": "BUILDSERVICE_PASSWORD",
"username": "buildservice"
}
BUILDSERVICE_PASSWORD: The password for the buildservice database. Must be a random, alphanumeric string with a minimum length of 24 characters.
/common/datarobot/pcs-db-computejobs¶
{
"database": "computejobs",
"password": "COMPUTEJOBS_PASSWORD",
"username": "computejobs"
}
COMPUTEJOBS_PASSWORD: The password for the computejobs database. Must be a random, alphanumeric string with a minimum length of 24 characters.
/common/datarobot/pcs-db-covalent¶
{
"database": "covalent",
"password": "COVALENT_PASSWORD",
"username": "covalent"
}
COVALENT_PASSWORD: The password for the covalent database. Must be a random, alphanumeric string with a minimum length of 24 characters.
/common/datarobot/pcs-db-cspspark¶
{
"database": "cspspark",
"password": "CSPSPARK_PASSWORD",
"username": "cspspark"
}
CSPSPARK_PASSWORD: The password for the cspspark database. Must be a random, alphanumeric string with a minimum length of 24 characters.
/common/datarobot/pcs-db-memoryservice¶
{
"database": "memoryservice",
"password": "MEMORYSERVICE_PASSWORD",
"username": "memoryservice"
}
MEMORYSERVICE_PASSWORD: The password for the memoryservice database. Must be a random, alphanumeric string with a minimum length of 24 characters.
/common/datarobot/pcs-db-secretmgmt¶
{
"database": "secretmgmt",
"password": "SECRETMGMT_PASSWORD",
"username": "secretmgmt"
}
SECRETMGMT_PASSWORD: The password for the secretmgmt database. Must be a random, alphanumeric string with a minimum length of 24 characters.
/common/datarobot/pcs-db-entitlement¶
{
"database": "entitlement",
"password": "ENTITLEMENT_PASSWORD",
"username": "entitlement"
}
ENTITLEMENT_PASSWORD: The password for the entitlement database. Must be a random, alphanumeric string with a minimum length of 24 characters.
/common/datarobot/pcs-db-identityresourceservice¶
{
"database": "identityresourceservice",
"password": "IDENTITYRESOURCESERVICE_PASSWORD",
"username": "identityresourceservice"
}
IDENTITYRESOURCESERVICE_PASSWORD: The password for the identityresourceservice database. Must be a random, alphanumeric string with a minimum length of 24 characters.
/common/datarobot/pcs-db-messagequeue¶
{
"database": "messagequeue",
"password": "MESSAGEQUEUE_PASSWORD",
"username": "messagequeue"
}
MESSAGEQUEUE_PASSWORD: The password for the messagequeue database. Must be a random, alphanumeric string with a minimum length of 24 characters.
/common/datarobot/pcs-db-modmon¶
{
"database": "modmon",
"password": "MODMON_PASSWORD",
"username": "modmon"
}
MODMON_PASSWORD: The password for the modmon database. Must be a random, alphanumeric string with a minimum length of 24 characters.
/common/datarobot/pcs-db-oauthproviders¶
{
"database": "oauthproviders",
"password": "OAUTHPROVIDERS_PASSWORD",
"username": "oauthproviders"
}
OAUTHPROVIDERS_PASSWORD: The password for the oauthproviders database. Must be a random, alphanumeric string with a minimum length of 24 characters.
/common/datarobot/pcs-db-predenv¶
{
"database": "predenv",
"password": "PREDENV_PASSWORD",
"username": "predenv"
}
PREDENV_PASSWORD: The password for the predenv database. Must be a random, alphanumeric string with a minimum length of 24 characters.
/common/datarobot/pcs-db-sushihydra¶
{
"database": "sushihydra",
"password": "SUSHIHYDRA_PASSWORD",
"username": "sushihydra"
}
SUSHIHYDRA_PASSWORD: The password for the sushihydra database. Must be a random, alphanumeric string with a minimum length of 24 characters.
/common/datarobot/pcs-db-pipelines¶
{
"database": "pipelines",
"password": "PIPELINES_PASSWORD",
"username": "pipelines"
}
PIPELINES_PASSWORD: The password for the pipelines database. Must be a random, alphanumeric string with a minimum length of 24 characters.
/common/datarobot/bootstrap-hydra¶
{
"hydraClientId": "HYDRA_CLIENTID",
"hydraClientSecret": "HYDRA_CLIENTSECRET"
}
HYDRA_CLIENTID: The unique identifier (client ID) used for authentication and authorization with the Hydra OAuth 2.0 server. Example: 3571ef40-207b-4b6b-83c1-e49bdbdb2149.
HYDRA_CLIENTSECRET: Hydra client secret. Must be a random, alphanumeric string with a minimum length of 18 characters.
/common/datarobot/auth-server-system-secrets¶
{
"secretsCookie": "AUTH_SECRETS_COOKIE",
"secretsSystem": "AUTH_SECRETS_SYSTEM"
}
AUTH_SECRETS_COOKIE: The signing and encryption key used to protect and validate authentication cookies stored on the client side. Must be a random, alphanumeric string with a minimum length of 32 characters.
AUTH_SECRETS_SYSTEM: The master key used for internal system communication and the cryptographic protection of stored application secrets. Must be a random, alphanumeric string with a minimum length of 32 characters. On an existing installation, add a new value in front of the current one instead of replacing it; see Rotate auth server system secrets.
/common/datarobot/oauth-providers-service-secret¶
{
"encryptionKey": "ENCRYPTION_KEY",
"signingKey": "SIGNING_KEY",
"testClientId": "TEST_CLIENT_ID"
}
ENCRYPTION_KEY: The symmetric encryption key used to encrypt sensitive internal data, such as authentication tokens or session data. Must be a random, alphanumeric string with a minimum length of 32 characters.
SIGNING_KEY: The cryptographic key used to digitally sign authentication tokens (e.g., JWTs) to ensure their integrity and authenticity. Must be a random, alphanumeric string with a minimum length of 63 characters.
TEST_CLIENT_ID: The standard client ID format (e.g., UUID). Must be a random, alphanumeric string with a minimum length of 16 characters.
/common/datarobot/build-service-env-secret¶
{
"BUILD_SERVICE_EXTERNAL_SECRET": "true"
}
/common/datarobot/buzok-llm-gateway-secrets¶
{
"BUZOK_LLM_GATEWAY": "true",
"LLM_ANTHROPIC_CREDENTIALS": "{\"endpoints\":[{\"region\":\"us\",\"api_key\":\"ANTHROPIC_API_KEY\"}]}",
"LLM_AZURE_OPENAI_CREDENTIALS": "{\"endpoints\":[{\"region\":\"northcentralus\",\"api_type\":\"azure\",\"api_base\":\"AZURE_OPENAI_API_BASE\",\"api_version\":\"2025-03-01-preview\",\"api_key\":\"AZURE_OPENAI_API_KEY\",\"unsupported_models\":[\"azure-openai-gpt-4-turbo\"]},{\"region\":\"eastus2\",\"api_type\":\"azure\",\"api_base\":\"AZURE_OPENAI_API_BASE\",\"api_version\":\"2025-03-01-preview\",\"api_key\":\"AZURE_OPENAI_API_KEY\"}]}"
}
ANTHROPIC_API_KEY: The API key required to authenticate and authorize requests to the Anthropic LLM service.
AZURE_OPENAI_API_BASE: The base URL or domain name for the Azure OpenAI deployment instance (e.g., https://your-instance.openai.azure.com/).
AZURE_OPENAI_API_KEY: The API key required to authenticate and authorize requests to the Azure OpenAI service.
Azure service principal and managed identity
For LLM_AZURE_OPENAI_CREDENTIALS, you can use a Microsoft Entra service principal or managed identity instead of an API key. Service principal fields in the JSON string per endpoint are listed in Azure OpenAI Models; managed identity uses the same endpoint shape without api_key or service principal keys when AZURE_TENANT_ID, AZURE_CLIENT_ID, and AZURE_FEDERATED_TOKEN_FILE are set on the gateway pods. The identity needs the Cognitive Services OpenAI User role on the Azure AI Foundry resource. Credential precedence is API key, then service principal, then managed identity. Field tables and JSON examples are in the Generative AI installation topic.
/common/datarobot/datavolt¶
{
"password": "DATAVOLT_KEY"
}
DATAVOLT_KEY: The master key or password required for authentication with and securing the DataVolt service. Must be a random, alphanumeric string with a minimum length of 42 characters.
/common/datarobot/covalent-kek¶
{
"passphrase": "COVALENT_KEK",
"version": "1"
}
COVALENT_KEK: The Key Encryption Key (KEK) used by the Covalent service for wrapping or encrypting other sensitive keys. Must be a random, alphanumeric string with a minimum length of 42 characters.
/common/datarobot/covalent-key¶
{
"key": "COVALENT_KEY"
}
COVALENT_KEY: The master key or primary secret required for the core functionality or security of the Covalent service. Must be 2048 RSA Private Key.
Upgrade from DataRobot v11.5 or earlier to the latest release¶
When upgrading from DataRobot v11.5 or earlier to the latest release, update your Vault secrets store as follows.
Add the following secrets (described above):
Upgrade from DataRobot v11.7 to the latest release¶
When upgrading from DataRobot v11.7 to the latest release, update your Vault secrets store as follows.
Add the following secrets (described above):
Upgrade from DataRobot v11.11 to the latest release¶
When upgrading from DataRobot v11.11 to the latest release, update your Vault secrets store as follows.
Add the following secrets (described above):
Obsolete secrets¶
The following secrets are no longer needed in the latest release version and can be safely removed from your Vault secrets store after upgrade:
/common/datarobot/pcs-db-airflowmanager/common/datarobot/buzok-integration-secrets/common/datarobot/pcs-rabbitmq-definition
In Release 11.15 and later, DataRobot no longer reads the following derived PostgreSQL secrets. Keep these secrets in the secret store until you no longer need to be able to roll back to an earlier release. An earlier release syncs them again, and its PostgreSQL pods require pcs-postgresql-initdb.
/common/datarobot/pcs-postgresql-initdb/common/datarobot/pcs-postgresql-initdb-cfg/common/datarobot/pcs-pgpool-userdb/common/datarobot/pcs-pgpool-custom-users