| author | dlepow |
|---|---|
| ms.service | azure-api-management |
| ms.topic | include |
| ms.date | 01/29/2026 |
| ms.author | danlep |
| ms.custom | sfi-image-nochange |
-
If you don't already have a key vault, create one. For information about creating a key vault, see Quickstart: Create a key vault using the Azure portal.
-
Enable a system-assigned or user-assigned managed identity in API Management.
[!INCLUDE api-management-key-vault-access]
To create a certificate in the key vault or import a certificate to the key vault, see Quickstart: Set and retrieve a certificate from Azure Key Vault using the Azure portal.
[!INCLUDE api-management-key-vault-network]
See Prerequisites for key vault integration.
Important
To add a key vault certificate to your API Management instance, you must have permissions to list secrets from the key vault.
Caution
When using a key vault certificate in API Management, be careful not to delete the certificate, key vault, or managed identity that's used to access the key vault.
To add a key vault certificate to API Management:
-
In the Azure portal, go to your API Management instance.
-
Under Security, select Certificates.
-
Select Certificates, then + Add.
-
In Id, enter a name.
-
In Certificate, select Key vault.
-
Enter the identifier of a key vault certificate, or choose Select to select a certificate from a key vault.
[!IMPORTANT]
If you enter a key vault certificate identifier yourself, be sure that it doesn't have version information. Otherwise, the certificate won't rotate automatically in API Management after an update in the key vault.
-
In Client identity, select a system-assigned identity or an existing user-assigned managed identity. For more information, see Use managed identities in Azure API Management.
[!NOTE]
The identity needs to have permissions to get and list certificates from the key vault. If you haven't already configured access to the key vault, API Management prompts you so that it can automatically configure the identity with the necessary permissions.
-
Select Add.
:::image type="content" source="../articles/api-management/media/api-management-howto-mutual-certificates/apim-client-cert-kv.png" alt-text="Screenshot that shows how to add a key vault certificate to API Management in the portal." lightbox="../articles/api-management/media/api-management-howto-mutual-certificates/apim-client-cert-kv.png":::
-
Select Save.
To upload a client certificate to API Management:
-
In the Azure portal, go to your API Management instance.
-
Under Security, select Certificates.
-
Select Certificates, then + Add.
-
In Id, enter a name.
-
In Certificate, select Custom.
-
Browse to select the certificate .pfx file, and enter its password.
-
Select Add.
:::image type="content" source="../articles/api-management/media/api-management-howto-mutual-certificates/apim-client-cert-add.png" alt-text="Screenshot of uploading a client certificate to API Management in the portal.":::
-
Select Save.