Create a Key Vault in Azure
You can create a key vault in Azure.
Procedure
Make sure you have an Azure subscription that contains Azure Key Vault. Then follow the instructions below:
-
Create an application. This application is only used for Azure Key Vault.
- In the Microsoft Entra admin center (or Microsoft Azure portal), navigate to Microsoft Entra ID > App registrations.
- Click New registration on the ribbon.
- On the Register an application page, configure the application settings.
- Click Register to create your application.
- After the application is created successfully, copy the application ID. The application ID is the client ID that will be used in the encryption profile.
- Add a client secret for the application.
- After creating the application, click Certificates & secrets in the left menu.
- In the Client secrets field, click New client secret.
- In the Add a client secret pane, enter a description for the client secret and select a duration.
- Click Add. The value of the client secret is automatically generated and displayed.
- Copy the client secret value. You will need to provide the value when configuring the encryption profile.
Note: The value will be hidden after you leave or refresh the page. - Create a key vault.
- In the Microsoft Azure portal, enter Key vaults in the search box on the top, and then select the first result to access the Key vaults page.
- Click Add. The Create key vault page appears.
- In the Basics tab, provide the basic information for the key vault, and then click the Access policy tab.
- Click Add Access Policy.
- On the Add access policy page, select the following
Key permissions from the drop-down list.
- In the Key Management Operations field, select Get.
- In the Cryptographic Operations field, select Decrypt and Encrypt.
- Click the select button in the Select principal field.
- In the Principal pane, enter the application name or application ID in the search box.
- Select the application and click Select at the bottom.
- Click Add to add the access policy.
- Click the Networking tab.
- Select Public endpoint (all networks) which allows all networks to connect to this key vault.
- Click the Tags tab and you can add tags to categorize your key vault.
- Click Review + create to review all of your configurations
first, and then click Create at the bottom to create the key vault. Note: If you need to change some settings before creating the key vault, you can click the Previous button to change previous settings.
- Create a key.
- On the Key vaults page, click the newly created key vault.
- Click Keys in Settings. In the Keys pane, click Generate/Import on the ribbon and create a key.
- In the Keys pane, click the key name, and then click the current version. The key properties are displayed.
- Copy the key identifier. You will need to provide the key identifier when configuring the encryption profile.