This guide outlines the steps to register an application in Microsoft Entra ID (formerly Azure AD), generate authentication credentials, and grant the minimum required permissions to read secrets from an Azure Key Vault. The collected values map directly to the Azure Key Vault provider fields in the Cloud Exchange Secrets Manager UI.
Click play to watch a video.
Create a Service Principal
Begin by registering an application in the relevant Microsoft Entra ID tenant. This creates the Identity (service principal) that Cloud Exchange will use.
Use the official Microsoft Guide for this step: Register an application with the Microsoft identity platform
Grant Access to Key Vault (Least Privilege)
After the identity exists, grant it permission to read secrets. Use the Key Vault Secrets User role, which allows reading secrets, but not managing them or viewing keys/certificates.
- Go to the target Key Vault resource in the Azure portal.
- In the left menu, select Access control (IAM).
- Click + Add and select Add role assignment.
- Select a Role:
- Search for and select: Key Vault Secrets User
- Permissions included: Get and List secrets.
- Click Next.
- Select Members:
- Ensure Assign access to is set to User, group, or service principal.
- Click + Select members.
- Search for the name of the application created in Part 1.
- Select the principal from the list and click Select.
- Click Review + assign to finish.
Configure Authentication Credentials
Choose one of the following options to authenticate the application. These values populate the Authentication Method, Client Secret, and/or Certificate Path fields in the Secrets Manager UI.
Option A: Client Secret (Password-based)
- Go to App registrations in the Azure portal and select the newly created application.
- In the left menu, select Certificates & secrets.
- Click on the Client secrets tab.
- Click + New client secret.
- Add a description (like Netskope CE Secret) and choose an expiration period.
- Click Add.
- Copy the Value of the client secret immediately; it cannot be viewed again after leaving the page.
- In Cloud Exchange, paste this value into the Client Secret field.
Option B: Client Certificate (Certificate-based)
Before proceeding, ensure the public key file of the X.509 certificate is available.
- Go to App registrations in the Azure portal and select the application.
- In the left menu, select Certificates & secrets.
- Click on the Certificates tab.
- Click Upload certificate.
- Select the
.crt,.cer, or.pemfile. - Click Add.
- In Cloud Exchange, paste the same file in the Certificate field and provide the passphrase if the certificate is encrypted.
Summary of Required Configuration Params
When completed, the following parameters are required to configure the product:
| Parameter | Source |
|---|---|
| Vault URL | Azure Portal > Key Vault > Overview > Vault URI |
| Tenant ID | App Registration > Overview > Directory (tenant) ID |
| Client ID | App Registration > Overview > Application (client) ID |
| Client Secret | (If Option A) The value copied. |
| Certificate Path | (If Option B) Location of the private key file uploaded in CE. |
| Certificate Passphrase | (If Option B & the certificate is encrypted) The passphrase entered. |
| Secret Name | Key Vault > Secrets > Name column (used when referencing the secret inside CE plugin fields). |

