Skip to content

Commit e26f9c9

Browse files
Merge pull request #226726 from Nickomang/aks-gh-sp-rotation
Added note on default SP creation behavior
2 parents 0f40878 + b72f1f1 commit e26f9c9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

articles/aks/update-credentials.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ You may also have [integrated your AKS cluster with Azure Active Directory (Azur
1616

1717
Alternatively, you can use a managed identity for permissions instead of a service principal. Managed identities are easier to manage than service principals and do not require updates or rotations. For more information, see [Use managed identities](use-managed-identity.md).
1818

19+
> [!NOTE]
20+
> - When you use the `az aks create` command to generate the service principal automatically, the service principal credentials are written to the file `~/.azure/aksServicePrincipal.json` on the machine used to run the command
21+
> - If you don't specify a service principal with Azure CLI commands, the default service principal located at `~/.azure/aksServicePrincipal.json` is used
22+
1923
## Before you begin
2024

2125
You need the Azure CLI version 2.0.65 or later installed and configured. Run `az --version` to find the version. If you need to install or upgrade, see [Install Azure CLI][install-azure-cli].

0 commit comments

Comments
 (0)