-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Azure Developer CLI (azd) | ||
|
||
This login mode uses the already logged-in context performed by Azure Developer CLI to get the access token. | ||
The token will be issued in the same Azure AD tenant as in `azd auth login`. | ||
|
||
`kubelogin` will not cache any token since it's already managed by Azure Developer CLI. | ||
|
||
> ### NOTE | ||
> | ||
> This login mode only works with managed AAD in AKS. | ||
## Usage Examples | ||
|
||
```sh | ||
azd auth login | ||
|
||
export KUBECONFIG=/path/to/kubeconfig | ||
|
||
kubelogin convert-kubeconfig -l azd | ||
|
||
kubectl get nodes | ||
``` | ||
|
||
## References | ||
|
||
- https://learn.microsoft.com/azure/developer/azure-developer-cli/overview | ||
- https://github.com/azure/azure-dev |