@Wang Echo
Thank you for your time and patience throughout this issue!
I received a response from our Key Vault engineering team and when it comes to the public_exponent
property, this is only applicable when using the Azure Key Vault Managed HSM and not the Azure Key Vault. The public_exponent
property doesn't exist in Key Vault's implementation of the Create Key REST API, we only use the key_size
and crv
(ECC keys).
I've submitted feedback on the doc and created an internal doc-enhancement request to get this updated.
Additional Links:
Add public_exponent option to create_key #18016 - This is a related issue.
Azure SDK for Python/Keys/_client.py - The Azure SDK for Python Key Vault repo also mentions this.
Azure key management services - For more info on the different key management services.
I hope this helps!
If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.
----------
Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.