Skip to content

Commit e8e1c16

Browse files
committed
edit pass: enable-key-vault-virtual-machine
1 parent 1be34a4 commit e8e1c16

File tree

1 file changed

+29
-27
lines changed

1 file changed

+29
-27
lines changed

articles/cloud-services-extended-support/enable-key-vault-virtual-machine.md

Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Apply the Key Vault VM Extension in Azure Cloud Services (extended support)
3-
description: Enable KeyVault VM Extension for Cloud Services (extended support)
2+
title: Apply the Key Vault VM extension in Azure Cloud Services (extended support)
3+
description: Learn about the Key Vault VM extension for Windows and how to enable it in Azure Cloud Services.
44
ms.topic: how-to
55
ms.service: cloud-services-extended-support
66
author: shisriva
@@ -12,47 +12,49 @@ ms.custom:
1212

1313
# Apply the Key Vault VM extension to Azure Cloud Services (extended support)
1414

15-
## What is the Key Vault VM Extension?
16-
The Key Vault VM extension provides automatic refresh of certificates stored in an Azure Key Vault. Specifically, the extension monitors a list of observed certificates stored in key vaults, and upon detecting a change, retrieves, and installs the corresponding certificates. For more details, see [Key Vault VM extension for Windows](../virtual-machines/extensions/key-vault-windows.md).
15+
This article provides basic information about the Azure Key Vault VM extension for Windows and shows you how to enable it in Azure Cloud Services.
1716

18-
## What's new in the Key Vault VM Extension?
19-
The Key Vault VM extension is now supported on the Azure Cloud Services (extended support) platform to enable the management of certificates end to end. The extension can now pull certificates from a configured Key Vault at a pre-defined polling interval and install them for use by the service.
17+
## What is the Key Vault VM extension?
18+
The Key Vault VM extension provides automatic refresh of certificates stored in an Azure key vault. Specifically, the extension monitors a list of observed certificates stored in key vaults. When the extension detects a change, it retrieves and installs the corresponding certificates. For more information, see [Key Vault VM extension for Windows](../virtual-machines/extensions/key-vault-windows.md).
2019

21-
## How can I leverage the Key Vault VM extension?
22-
The following tutorial will show you how to install the Key Vault VM extension on PaaSV1 services by first creating a bootstrap certificate in your vault to get a token from AAD that will help in the authentication of the extension with the vault. Once the authentication process is set up and the extension is installed all latest certificates will be pulled down automatically at regular polling intervals.
20+
## What's new in the Key Vault VM extension?
21+
The Key Vault VM extension is now supported on the Azure Cloud Services (extended support) platform to enable the management of certificates end to end. The extension can now pull certificates from a configured key vault at a predefined polling interval and install them for the service to use.
22+
23+
## How can I use the Key Vault VM extension?
24+
The following procedure will show you how to install the Key Vault VM extension on Azure Cloud Services by first creating a bootstrap certificate in your vault to get a token from Azure Active Directory (Azure AD). That token will help in the authentication of the extension with the vault. After the authentication process is set up and the extension is installed, all the latest certificates will be pulled down automatically at regular polling intervals.
2325

2426
> [!NOTE]
25-
> The Key Vault VM extension downloads all the certificates in the windows certificate store or to the location provided by "certificateStoreLocation" property in the VM extension settings. Currently, the KV VM extension grants access to the private key of the certificate only to the local system admin account.
27+
> The Key Vault VM extension downloads all the certificates in the Windows certificate store or to the location provided by the `certificateStoreLocation` property in the VM extension settings. Currently, the Key Vault VM extension grants access to the private key of the certificate only to the local system admin account.
2628
2729

28-
## Prerequisites
29-
To use the Azure Key Vault VM extension, you need to have an Azure Active Directory tenant. For more information on setting up a new Active Directory tenant, see [Setup your AAD tenant](../active-directory/develop/quickstart-create-new-tenant.md)
30+
### Prerequisites
31+
To use the Azure Key Vault VM extension, you need to have an Azure AD tenant. For more information, see [Quickstart: Set up a tenant](../active-directory/develop/quickstart-create-new-tenant.md).
3032

31-
## Enable the Azure Key Vault VM extension
33+
### Enable the Azure Key Vault VM extension
3234

33-
1. [Generate a certificate](../key-vault/certificates/create-certificate-signing-request.md) in your vault and download the .cer for that certificate.
35+
1. [Generate a certificate](../key-vault/certificates/create-certificate-signing-request.md) in your vault and download the .cer file for that certificate.
3436

35-
2. In the [Azure portal](https://portal.azure.com) navigate to **App Registrations**.
37+
2. In the [Azure portal](https://portal.azure.com), go to **App registrations**.
3638

37-
:::image type="content" source="media/app-registration-0.jpg" alt-text="Shows selecting app registration in the portal.":::
39+
:::image type="content" source="media/app-registration-0.jpg" alt-text="Screenshot of resources available in the Azure portal, including app registrations.":::
3840

3941

40-
3. In the App Registrations page select **New Registration** on the top left corner of the page
42+
3. On the **App registrations** page, select **New registration**.
4143

42-
:::image type="content" source="media/app-registration-1.png" alt-text="Shows the app registration sin the Azure portal.":::
44+
:::image type="content" source="media/app-registration-1.png" alt-text="Screenshot that shows the page for app registrations in the Azure portal.":::
4345

44-
4. On the next page you can fill the form and complete the app creation.
46+
4. On the next page, fill out the form and complete the app creation.
4547

46-
5. Upload the .cer of the certificate to the Azure Active Directory app portal.
48+
5. Upload the .cer file of the certificate to the Azure AD app portal.
4749

48-
- Optionally you can also leverage the [Key Vault Event Grid notification feature](https://azure.microsoft.com/updates/azure-key-vault-event-grid-integration-is-now-available/) to upload the certificate.
50+
Optionally, you can use the [Azure Event Grid notification feature for Key Vault](https://azure.microsoft.com/updates/azure-key-vault-event-grid-integration-is-now-available/) to upload the certificate.
4951

50-
6. Grant the Azure Active Directory app secret list/get permissions in Key Vault:
51-
- If you are using RBAC preview, search for the name of the AAD app you created and assign it to the Key Vault Secrets User (preview) role.
52-
- If you are using vault access policies, then assign **Secret-Get** permissions to the AAD app you created. For more information, see [Assign access policies](../key-vault/general/assign-access-policy-portal.md)
52+
6. Grant the Azure Active Directory app secret permissions in Key Vault:
53+
54+
- If you're using a role-based access control (RBAC) preview, search for the name of the Azure AD app that you created and assign it to the Key Vault Secrets User (preview) role.
55+
- If you're using vault access policies, assign **Secret-Get** permissions to the Azure AD app that you created. For more information, see [Assign access policies](../key-vault/general/assign-access-policy-portal.md).
5356

54-
7. Install first
55-
step and the Key Vault VM extension using the ARM template snippet for `cloudService` resource as shown below:
57+
7. Install the Key Vault VM extension by using the Azure Resource Manager template snippet for the `cloudService` resource:
5658

5759
```json
5860
{
@@ -109,7 +111,7 @@ step and the Key Vault VM extension using the ARM template snippet for `cloudSer
109111
}
110112
}
111113
```
112-
You might need to specify the certificate store for boot strap certificate in ServiceDefinition.csdef like below:
114+
You might need to specify the certificate store for the bootstrap certificate in *ServiceDefinition.csdef*:
113115

114116
```xml
115117
<Certificates>
@@ -118,4 +120,4 @@ step and the Key Vault VM extension using the ARM template snippet for `cloudSer
118120
```
119121

120122
## Next steps
121-
Further improve your deployment by [enabling monitoring in Cloud Services (extended support)](enable-alerts.md)
123+
Further improve your deployment by [enabling monitoring in Azure Cloud Services (extended support)](enable-alerts.md).

0 commit comments

Comments
 (0)