Skip to content

Commit 58b126d

Browse files
committed
updated workload-identity-deploy-cluster
1 parent 045a92a commit 58b126d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/aks/workload-identity-deploy-cluster.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Deploy and configure an Azure Kubernetes Service (AKS) cluster with workl
33
description: In this Azure Kubernetes Service (AKS) article, you deploy an Azure Kubernetes Service cluster and configure it with an Azure AD workload identity.
44
ms.topic: article
55
ms.custom: devx-track-azurecli
6-
ms.date: 04/19/2023
6+
ms.date: 05/24/2023
77
---
88

99
# Deploy and configure workload identity on an Azure Kubernetes Service (AKS) cluster
@@ -45,7 +45,7 @@ export FEDERATED_IDENTITY_CREDENTIAL_NAME="myFedIdentity"
4545
Create an AKS cluster using the [az aks create][az-aks-create] command with the `--enable-oidc-issuer` parameter to use the OIDC Issuer. The following example creates a cluster named *myAKSCluster* with one node in the *myResourceGroup*:
4646

4747
```azurecli-interactive
48-
az aks create -g "${RESOURCE_GROUP}" -n myAKSCluster --enable-oidc-issuer --enable-workload-identity
48+
az aks create -g "${RESOURCE_GROUP}" -n myAKSCluster --enable-oidc-issuer --enable-workload-identity --generate-ssh-keys
4949
```
5050

5151
After a few minutes, the command completes and returns JSON-formatted information about the cluster.

0 commit comments

Comments
 (0)