Skip to content

Commit c677f60

Browse files
Merge pull request #287483 from asergaz/m2-managesecrets
adding references to cli commands
2 parents 7176596 + 5bf7025 commit c677f60

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/iot-operations/deploy-iot-ops/howto-enable-secure-settings.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ A workload identity is an identity you assign to a software workload (such as an
3636
> [!NOTE]
3737
> This step only applies to Ubuntu + K3s clusters. The quickstart script for Azure Kubernetes Service (AKS) Edge Essentials used in [Prepare your Azure Arc-enabled Kubernetes cluster](./howto-prepare-cluster.md) enables workload identity by default. If you have an AKS Edge Essentials cluster, continue to the next section.
3838
39-
If you aren't sure whether your K3s cluster already has workload identity enabled or not, run the following command to check:
39+
If you aren't sure whether your K3s cluster already has workload identity enabled or not, run the [az connectedk8s show](/cli/azure/connectedk8s#az-connectedk8s-show) command to check:
4040

4141
```azurecli
4242
az connectedk8s show --name <CLUSTER_NAME> --resource-group <RESOURCE_GROUP> --query "{oidcIssuerEnabled:oidcIssuerProfile.enabled, workloadIdentityEnabled: securityProfile.workloadIdentity.enabled}"
@@ -46,18 +46,18 @@ Use the following steps to enable workload identity on an existing connected K3s
4646

4747
1. Download and install a preview version of the `connectedk8s` extension for Azure CLI. GitHub: [connectedk8s-1.10.0](https://github.com/AzureArcForKubernetes/azure-cli-extensions/blob/connectedk8s/public/cli-extensions/connectedk8s-1.10.0-py2.py3-none-any.whl).
4848

49-
```azurecli
49+
```bash
5050
curl -L -o connectedk8s-1.10.0-py2.py3-none-any.whl https://github.com/AzureArcForKubernetes/azure-cli-extensions/raw/refs/heads/connectedk8s/public/cli-extensions/connectedk8s-1.10.0-py2.py3-none-any.whl
5151
```
5252

53-
1. Remove the existing connectedk8s cli extension if you already installed it.
53+
1. Use the [az extension remove](/cli/azure/extension#az-extension-remove) command to remove the existing connectedk8s cli extension if you already installed it.
5454

5555
```azurecli
5656
#!/bin/bash
5757
az extension remove --name connectedk8s
5858
```
5959

60-
1. Add the new connectedk8s cli source.
60+
1. Use the [az extension add](/cli/azure/extension#az-extension-add) command to add the new connectedk8s cli source.
6161

6262
```azurecli
6363
#!/bin/bash
@@ -71,7 +71,7 @@ Use the following steps to enable workload identity on an existing connected K3s
7171
export HELMREGISTRY=azurearcfork8s.azurecr.io/public/azurearck8s/canary/stable/azure-arc-k8sagents:1.20.1
7272
```
7373

74-
1. Upgrade the Arc agent version to the private build that supports the workload identity feature.
74+
1. Use the [az connectedk8s upgrade](/cli/azure/connectedk8s#az-connectedk8s-upgrade) command to upgrade the Arc agent version to the private build that supports the workload identity feature.
7575

7676
```azurecli
7777
#!/bin/bash
@@ -87,7 +87,7 @@ Use the following steps to enable workload identity on an existing connected K3s
8787
--agent-version $RELEASE_TAG
8888
```
8989

90-
1. Enable the workload identity feature on the cluster.
90+
1. Use the [az connectedk8s update](/cli/azure/connectedk8s#az-connectedk8s-update) command to enable the workload identity feature on the cluster.
9191

9292
```azurecli
9393
#!/bin/bash
@@ -102,7 +102,7 @@ Use the following steps to enable workload identity on an existing connected K3s
102102
--enable-oidc-issuer --enable-workload-identity
103103
```
104104

105-
1. Get the cluster's issuer url. Take a note to add it later in K3s config file.
105+
1. Use the [az connectedk8s show](/cli/azure/connectedk8s#az-connectedk8s-show) command to to get the cluster's issuer url. Take a note to add it later in K3s config file.
106106

107107
```azurecli
108108
#!/bin/bash

0 commit comments

Comments
 (0)