How to export public key of EC key pair?

Thomas Gusset 36 Reputation points
2023-11-11T11:40:15.28+00:00

Hi

If you create an RSA key pair (e.g. via the Azure Web GUI), you can export the public key. This is required for most use cases (e.g. for encrypting or verifying signatures).

However, if you are using an EC key, this does not seem to be possible.

Do you have any idea what the reason for this is?

Thanks
Thomas

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,336 questions
{count} votes

Accepted answer
  1. Givary-MSFT 34,286 Reputation points Microsoft Employee
    2023-11-13T08:55:36.2733333+00:00

    @Thomas Gusset Thank you for reaching out to us, As I understand you are looking for details on why public key of EC key pair cant be downloaded from the portal.

    Discussed your ask with my team, here is the update I have - You don't see a download option on GUI is expected, EC keys aren't fully supported through GUI which means some operations are only available through other interfaces such as PSH/CLI. you may download the public key via CLI - https://learn.microsoft.com/en-us/cli/azure/keyvault/key?view=azure-cli-latest#az-keyvault-key-download

    Let me know if you have any further questions, feel free to post back.

    Please remember to "Accept Answer" if answer helped, so that others in the community facing similar issues can easily find the solution.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.