Klevr Product Documentation logo

Upgrade Guide

Points to be aware of when upgrading an existing Integration Hub installation to v6.1.0, with links to the upgrade notes for previous versions.

The upgrade notes on this page cover upgrading from v6.0.0 to the current version. If you are upgrading across more than one version, follow the notes for every version between your current version and the current version, starting with the oldest:

When upgrading an existing Integration Hub installation to v6.1.0, please be aware of the following points.

Stage Secret Tokens

Integration Hub v6.1.0 replaces the secretProvisioningMode setting with $env: and $kv: tokens. Each secret field of an API, PGP or SFTP stage now says where its secret comes from:

  • $env:NAME: an Azure DevOps variable, which the deployment writes to the Domain's Key Vault. This is the same as PipelineManaged mode in v6.0.0.
  • $kv:secret-name: a Key Vault secret that you create in the Domain's Key Vault. This replaces the literal secret names of Manual mode in v6.0.0.

See Stage Secrets for the full details.

Pre-flight validation stops the deployment while the domains file or any stage file still has a secretProvisioningMode setting, or while a secret field still has a literal value. Before you deploy v6.1.0, change the stages and the domains file as below.

  1. Stages that used Manual mode (set for the stage, the Domain or the Business Unit): add $kv: to the start of each literal Key Vault secret name in a secret field. For example, "password": "dm1-remote-api-password" becomes "password": "$kv:dm1-remote-api-password". This includes the PGP publicKeySecretName, privateKeySecretName and passPhraseSecretName fields, and the SFTP sshPrivateKeySecretName field.
  2. Stages that used PipelineManaged mode, or had no setting: keep the $env: tokens as they are. No change is needed.
  3. Remove every secretProvisioningMode setting, from the top level of the domains file, from the Domain entries in the domains file, and from the stage files.

For each field that must change, the pre-flight validation message gives the new value to use.

In v6.0.0, a Key Vault secret name in an outbound API header value did not work in Manual mode. Change these header values to $kv: tokens too, for example "x-functions-key": "$kv:dm1-function-key".

Last updated on