Why I cannot create keys in Azure Key Vault?

Joey 150 Reputation points
2024-09-23T02:32:19.1466667+00:00

Hi

I have encountered some problems when using Azure Key Vault.

The Problem:

I cannot create keys in Azure Key Vault, either a Key Vault key or a Key Vault key with HSM protection.

Some try:

I have checked that I am a privileged contributor within the subscription with this Key Vault account I created. I also asked our account owner to create keys in Key Vault, and he failed as me. Thus, I think it is not a permission problem.

My question is, what might cause this, and how can it be solved? Does using Vault Key or Vault Key with HSM need a dedicated configuration I missed?

User's image

User's image

User's image

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,343 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,179 questions
Azure Dedicated HSM
Azure Dedicated HSM
An Azure service that provides hardware security module management.
31 questions
0 comments No comments
{count} votes

Accepted answer
  1. TP 100.8K Reputation points
    2024-09-23T02:37:50.7166667+00:00

    Hi Joey,

    You need Key Vault Crypto Officer role on the key vault to create keys. Please have owner assign that role to your user.

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    1 person found this answer helpful.

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.