You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-arc/kubernetes/tutorial-akv-secrets-provider.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -244,16 +244,19 @@ You should see output similar to the example below.
244
244
245
245
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.
246
246
247
-
```azurecli
248
-
az keyvault create -n $AZUREKEYVAULT_NAME -g $AKV_RESOURCE_GROUP -l $AZUREKEYVAULT_LOCATION
249
247
250
-
Next, set the following environment variables:
248
+
Set the following environment variables:
251
249
252
250
```azurecli-interactive
253
251
export AKV_RESOURCE_GROUP=<resource-group-name>
254
252
export AZUREKEYVAULT_NAME=<AKV-name>
255
253
export AZUREKEYVAULT_LOCATION=<AKV-location>
256
254
```
255
+
Next, run the following command
256
+
257
+
```azurecli
258
+
az keyvault create -n $AZUREKEYVAULT_NAME -g $AKV_RESOURCE_GROUP -l $AZUREKEYVAULT_LOCATION
259
+
```
257
260
258
261
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:
259
262
@@ -293,7 +296,7 @@ Currently, the Secrets Store CSI Driver on Arc-enabled clusters can be accessed
293
296
apiVersion: secrets-store.csi.x-k8s.io/v1
294
297
kind: SecretProviderClass
295
298
metadata:
296
-
name: akvprovider-demo
299
+
name: akvprovider-demo
297
300
spec:
298
301
provider: azure
299
302
parameters:
@@ -412,4 +415,4 @@ For more information about resolving common issues, see the open source troubles
412
415
## Next steps
413
416
414
417
- 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