Azure Key Vault secrets can be used in custom connectors using environment variables


This content is archived and is not being updated. For the latest documentation, go to Microsoft Dataverse Developer Guide. For the latest release plans, go to Dynamics 365 and Microsoft Power Platform release plans.

Enabled for Public preview General availability
Admins, makers, marketers, or analysts, automatically Apr 1, 2022 -

Business value

Managing secrets securely is a prerequisite for any enterprise. The ability to manage secrets in secure storage like Azure Key Vault simplifies secret management.

Feature details

With this feature, you can now manage your secrets in Key Vault and use those secrets securely in a custom connector. You can now create an environment variable that links to a Key Vault secret. Once done, the environment variable can be used in a custom connector. This provides a safe and secure way to manage secrets, and the secret value isn't leaked or returned to the client. You don't need to update the value explicitly.

This feature also improves the application lifecycle management of custom connectors since the reference secrets can be updated using the environment variables.

See also

Easier deployments of Custom Connectors (blog)