Security recommendations for DataLens On-premises secrets

  • Keep your secrets secure by using external secret management systems (HashiCorp Vault, Yandex Lockbox) and referring to them via secrets.ref.
  • Do not rotate CONTROL_API_CRYPTO_KEY unless you have to. Doing so will break existing connections. Seamless rotation is currently not supported.
  • Schedule your rotation for low-load periods, because rotating some of the secrets involves restarting the services.
  • Create backups prior to rotation, especially before you change your database passwords.