You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"private_key": "...-----BEGIN PRIVATE KEY-----... in PEM format",
210
210
"thumbprint": "A1B2C3D4E5F6...",
211
211
"public_certificate": "...-----BEGIN CERTIFICATE-----... (Optional. See below.)",
212
212
"passphrase": "Passphrase if the private_key is encrypted (Optional. Added in version 1.6.0)",
213
213
}
214
214
215
+
MSAL Python requires a "private_key" in PEM format.
216
+
If your cert is in a PKCS12 (.pfx) format, you can also
217
+
`convert it to PEM and get the thumbprint <https://github.com/Azure/azure-sdk-for-python/blob/07d10639d7e47f4852eaeb74aef5d569db499d6e/sdk/identity/azure-identity/azure/identity/_credentials/certificate.py#L101-L123>`_.
218
+
219
+
The thumbprint is available in your app's registration in Azure Portal.
220
+
Alternatively, you can `calculate the thumbprint <https://github.com/Azure/azure-sdk-for-python/blob/07d10639d7e47f4852eaeb74aef5d569db499d6e/sdk/identity/azure-identity/azure/identity/_credentials/certificate.py#L94-L97>`_.
221
+
215
222
*Added in version 0.5.0*:
216
223
public_certificate (optional) is public key certificate
217
224
which will be sent through 'x5c' JWT header only for
0 commit comments