Skip to content

Commit 67c0aa8

Browse files
authored
Merge pull request #94660 from sapinderpalsingh/master
Fixed spacing issue in yaml and command ordering for keyvault creation [tutorial-akv-secrets-provider.md]
2 parents 8b9b3ba + 9473d8a commit 67c0aa8

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

articles/azure-arc/kubernetes/tutorial-akv-secrets-provider.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -244,16 +244,19 @@ You should see output similar to the example below.
244244

245245
Next, specify the Azure Key Vault to use with your connected cluster. If you don't already have one, create a new Key Vault by using the following commands. Keep in mind that the name of your Key Vault must be globally unique.
246246

247-
```azurecli
248-
az keyvault create -n $AZUREKEYVAULT_NAME -g $AKV_RESOURCE_GROUP -l $AZUREKEYVAULT_LOCATION
249247

250-
Next, set the following environment variables:
248+
Set the following environment variables:
251249

252250
```azurecli-interactive
253251
export AKV_RESOURCE_GROUP=<resource-group-name>
254252
export AZUREKEYVAULT_NAME=<AKV-name>
255253
export AZUREKEYVAULT_LOCATION=<AKV-location>
256254
```
255+
Next, run the following command
256+
257+
```azurecli
258+
az keyvault create -n $AZUREKEYVAULT_NAME -g $AKV_RESOURCE_GROUP -l $AZUREKEYVAULT_LOCATION
259+
```
257260

258261
Azure Key Vault can store keys, secrets, and certificates. For this example, you can set a plain text secret called `DemoSecret` by using the following command:
259262

@@ -293,7 +296,7 @@ Currently, the Secrets Store CSI Driver on Arc-enabled clusters can be accessed
293296
apiVersion: secrets-store.csi.x-k8s.io/v1
294297
kind: SecretProviderClass
295298
metadata:
296-
name: akvprovider-demo
299+
name: akvprovider-demo
297300
spec:
298301
provider: azure
299302
parameters:
@@ -412,4 +415,4 @@ For more information about resolving common issues, see the open source troubles
412415
## Next steps
413416

414417
- Want to try things out? Get started quickly with an [Azure Arc Jumpstart scenario](https://aka.ms/arc-jumpstart-akv-secrets-provider) using Cluster API.
415-
- Learn more about [Azure Key Vault](../../key-vault/general/overview.md).
418+
- Learn more about [Azure Key Vault](../../key-vault/general/overview.md).

0 commit comments

Comments
 (0)