Exercise issue in Azure Key Vault.

Jia Zeng 0 Reputation points
2024-07-31T07:27:13.21+00:00

https://learn.microsoft.com/en-us/training/modules/implement-azure-key-vault/5-set-retrieve-secret-azure-key-vault
When I follow this exercise, I get the error message as bellow. It seems needs role assignments steps which not in this tutorial. Could you please add these steps? Thank you!
User's image

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,333 questions
0 comments No comments
{count} votes

Accepted answer
  1. TP 84,376 Reputation points
    2024-07-31T07:34:18.3733333+00:00

    Hi,

    Please repeat the exercise from the beginning, only this time substitute below command for the one in step#3:

    az keyvault create --name $myKeyVault --resource-group az204-vault-rg --location $myLocation --enable-rbac-authorization false
    
    

    The above command will create the Key Vault with permission model set to Vault access policy and grant your user account permission to perform necessary operations. In this way when you execute the command to create secret it will succeed.

    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