Azure / Azure/azure-cli

Use certs saved in the local store to be used in cert-based auth for service principals

Open
#23,448 5 comments 6 reactions 1 assignee Claimed by @jiasli View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.