Skip to content

Restore secrets and configuration

To restore a DataRobot application with previously backed up configuration and secrets, you must use that configuration while installing the new DataRobot application.

重要

Old secrets can only be restored during the DataRobot chart installation. it's not possible to add them to an already-deployed DataRobot application.

Restore encryption keys

備考

You must fulfill the prerequisites before proceeding.

Before installing the application, add the backed-up values for your encryption keys to the values.yaml file of the DataRobot application chart. The following values.yaml example shows how to configure the cluster to use existing secrets (from your ASYMMETRIC_KEY_PAIR_MONGO_ENCRYPTION_KEY.txt and DRSECURE_MONGO_ENCRYPTION_KEY.txt backup files) instead of generating new secrets:

core:
  services:
    core:
      asymmetrickey: ASYMMETRIC_KEY_PAIR_MONGO_ENCRYPTION_KEY
      drsecurekey: DRSECURE_MONGO_ENCRYPTION_KEY 

備考

  • Replace ASYMMETRIC_KEY_PAIR_MONGO_ENCRYPTION_KEY with the value from ASYMMETRIC_KEY_PAIR_MONGO_ENCRYPTION_KEY.txt (the decoded content).
  • Replace DRSECURE_MONGO_ENCRYPTION_KEY with the value from DRSECURE_MONGO_ENCRYPTION_KEY.txt (the decoded content).