Skip to content

Commit bce810b

Browse files
Merge pull request #293823 from dominicbetts/aio-security-enable-updates
AIO: Add secure settings clarification
2 parents af3f5a1 + 76ed441 commit bce810b

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,15 @@ For k3s clusters on Kubernetes, you can update an existing cluster. To enable an
4343

4444
1. Update the cluster to enable OIDC issuer and workload identity.
4545

46-
```azurecli
47-
az connectedk8s update -n <CLUSTER_NAME> -g <RESOURCE_GROUP> --enable-oidc-issuer --enable-workload-identity
48-
```
46+
```azurecli
47+
az connectedk8s update -n <CLUSTER_NAME> -g <RESOURCE_GROUP> --enable-oidc-issuer --enable-workload-identity
48+
```
49+
50+
If you enabled the OIDC issuer and workload identity features when you created the cluster, you don't need to run the previous command again. Use the following command to check the status of the OIDC issuer and workload identity features for your cluster:
51+
52+
```azurecli
53+
az connectedk8s show -g <RESOURCE_GROUP> -n <CLUSTER_NAME> --query "{ClusterName:name, OIDCIssuerEnabled:oidcIssuerProfile.enabled, WorkloadIdentityEnabled:securityProfile.workloadIdentity.enabled}"
54+
```
4955
5056
1. Get the cluster's issuer URL.
5157

0 commit comments

Comments
 (0)