-
Notifications
You must be signed in to change notification settings - Fork 522
Closed
Description
Type of issue
Other (describe below)
Feedback
When you use a PEM file, the CERTIFICATE must be appended to the PRIVATE KEY within the file. on linked page is wrong:
- The AZ CLI example after that sentence is clearly using only certificate
- Implementation for local --cert is assuming that only certificate is present on the input: https://github.com/Azure/azure-cli/blob/b976aa4280016c33f9fda00307ba24d6670f1624/src/azure-cli/azure/cli/command_modules/role/custom.py#L1521-L1528
TBH this might be even security issue if MS Graph API logs contents of the keyCredential.key and documentation suggests sening private key into API.
Page URL
https://learn.microsoft.com/en-us/cli/azure/azure-cli-sp-tutorial-3
Content source URL
Author
Document Id
0fbbbebc-427f-0df1-3bfa-447fbafab071