Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UPCOMING BREAKING CHANGE: az login: Starting from version 2.67.0, --password will no longer accept service principal certificate #30283

Open
jiasli opened this issue Nov 8, 2024 · 1 comment
Assignees
Labels
Account az login/account Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone

Comments

@jiasli
Copy link
Member

jiasli commented Nov 8, 2024

Starting from version 2.67.0, for az login, --password will no longer accept service principal certificate. Use --certificate to pass a service principal certificate.

Log in with a service principal using certificate:

az login --service-principal --username APP_ID --certificate /path/to/cert.pem --tenant TENANT_ID

Log in with a service principal using client secret:

az login --service-principal --username APP_ID --password CLIENT_SECRET --tenant TENANT_ID
@jiasli jiasli pinned this issue Nov 8, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added Auto-Assign Auto assign by bot Account az login/account labels Nov 8, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Nov 8, 2024
@yonzhan yonzhan added this to the Backlog milestone Nov 8, 2024
@jiasli
Copy link
Member Author

jiasli commented Nov 13, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Account az login/account Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

2 participants