Skip to content

Commit 1353f6b

Browse files
committed
tutorial-rotation
1 parent 5a799fe commit 1353f6b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/key-vault/tutorial-rotation.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -174,13 +174,13 @@ You can find the complete code on [GitHub](https://github.com/jlichwa/azure-keyv
174174
1. Download the function app zip file from [GitHub](https://github.com/jlichwa/azure-keyvault-basicrotation-tutorial/raw/master/simplerotationsample-fn.zip).
175175

176176
1. Upload the simplerotationsample-fn.zip file to Azure Cloud Shell.
177-
177+
178+
![Upload the file](./media/rotate4.png)
178179
1. Use this CLI command to deploy the zip file to the function app:
179180

180181
```azurecli
181182
az functionapp deployment source config-zip -g simplerotation -n simplerotation-fn --src /home/{firstname e.g jack}/simplerotationsample-fn.zip
182183
```
183-
![Upload the file](./media/rotate4.png)
184184

185185
After the function is deployed, you should see two functions under simplerotation-fn:
186186

@@ -201,13 +201,13 @@ az eventgrid event-subscription create --name simplerotation-eventsubscription -
201201
```
202202

203203
## Add the secret to Key Vault
204-
Set your access policy to grant manage secrets permission to users:
204+
Set your access policy to grant *manage secrets* permissions to users:
205205

206206
```azurecli
207207
az keyvault set-policy --upn <email-address-of-user> --name simplerotation-kv --secret-permissions set delete get list
208208
```
209209

210-
Create a new secret with tags that contain the SQL database data source and the user ID. Include expiration date that's set for tomorrow.
210+
Create a new secret with tags that contain the SQL database data source and the user ID. Include an expiration date that's set for tomorrow.
211211

212212
```azurecli
213213
$tomorrowDate = (get-date).AddDays(+1).ToString("yyy-MM-ddThh:mm:ssZ")
@@ -223,7 +223,7 @@ To verify that the secret has rotated, go to **Key Vault** > **Secrets**:
223223

224224
![Go to Secrets](./media/rotate8.png)
225225

226-
Open the **sqluser** secret and view the original and rotated version:
226+
Open the **sqluser** secret and view the original and rotated versions:
227227

228228
![Open the sqluser secret](./media/rotate9.png)
229229

@@ -233,12 +233,12 @@ To verify the SQL credentials, create a web app. This web app will get the secre
233233

234234
The web app requires these components:
235235
- A web app with system-managed identity
236-
- Access policy to access secrets in Key Vault via web app managed identity
236+
- An access policy to access secrets in Key Vault via web app managed identity
237237

238238
1. Select the Azure template deployment link:
239239
<br><a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fjlichwa%2Fazure-keyvault-basicrotation-tutorial%2Fmaster%2Farm-templates%2Fweb-app%2Fazuredeploy.json" target="_blank"> <img src="https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/1-CONTRIBUTION-GUIDE/images/deploytoazure.png"/></a>
240240
1. Select the **simplerotation** resource group.
241-
1. Select Purchase.
241+
1. Select **Purchase**.
242242

243243
## Deploy the web app
244244

0 commit comments

Comments
 (0)