Integrate with Azure Key Vault

FlexDeploy provides out of box integration with Azure Key Vault to retrieve secrets. FlexDeploy will authenticate using the OAuth 2.0 authentication method.

Azure Key Vault Setup

  • Create new App registration in the Azure Portal.
  • Create a new Client Secret in the Certificates & secrets section in the created app registration.
  • Provide the appropriate role to the created app registration in the desired Key Vault's Access policies section (for Vault access policy) or Access control (IAM) section (for Azure role-based access control). 

FlexDeploy Setup

You must first create a Credential Store in FlexDeploy by clicking the Create Store button on Administration - Security - Credentials page. The credential store represents an instance of a specific type of credential store provider. If you have more than one Azure Key Vault, you will create an equal number of Credential Stores in FlexDeploy.

Here are the configurations necessary for this store.

Property NameNotesExample
Vault URLHTTP URL for Azure Key Vault.https://mycompany.vault.azure.net
Tenant IDAzure Tenant ID or Directory ID.as per your Vault configurations
Client IDThe Application ID of the application registered in the Azure Portal.as per your Vault configurations
Client SecretClient Secret generated in Azure Portal.as per your Vault configurations
Azure ResourceThe App ID URI of the target web API.https://vault.azure.net/
Grant TypeAuthentication Credential Grant Type.client_credentials
API VersionVersion of the Azure REST API.2016-10-01

Now you are ready to create an individual credential to be retrieved from the Key Vault.

You can create or edit credentials from the Credentials page or from where the specific credential is used.

Azure Key Vault Credential requires input as described below.

Input NameNotes
Secret Name

Secret name for secret value.

Secret names can also be entered in the format SecretName/Version to retrieve a specific version of the secret.

Here is what the edit credential form looks like.

Create credential looks similar except you need to provide Scope as well. The scope can not be changed once the credential is saved.

You can change credential inputs (Secret Name) at any point. FlexDeploy will use these inputs with credential store properties like Vault URL, Client ID, and Client Secret to retrieve individual credentials for use during Workflow Execution.

The following macros are not currently supported in the footer:
  • style