azure.identity.aio.CertificateCredential constructor does not support x5c via send_certificate_chain #36441
Labels
Azure.Identity
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
issue-addressed
The Azure SDK team member assisting with this issue believes it to be addressed and ready to close.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
The constructors for azure.identity.CertificateCredential and azure.identity.aio.CertificateCredential are inconsistent. The aio version does not support the send_certificate_chain argument that the non-aio version supports. This means that SN+I is not possible in the aio version.
To Reproduce
Steps to reproduce the behavior:
Using an SPN configured for SN+I and without a pinned cert the following code fails with a invalid_client (AADSTS700027) error.
Expected behavior
It should succeed
The text was updated successfully, but these errors were encountered: