Use certs saved in the local store to be used in cert-based auth for service principals
Open
Account
act-identity-squad
Auto-Assign
Azure CLI Team
customer-reported
feature-request
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
**Related command**
az login
**Is your feature request related to a problem? Please describe.**
For service principal based authentcation, I cannot reference a cert via its thumbprint in the computer store. The Az module of pwsh is able to do so:
https://docs.microsoft.com/en-us/powershell/module/az.accounts/connect-azaccount?view=azps-8.2.0
**Describe the solution you'd like**
az login --service-principal -u appId -certThumbprint cert:\LocalMachine\My\thumbprint
**Describe alternatives you've considered**
Going back to the Az module of pwsh
Contributor guide
Assessment
This issue has not been assessed yet.