Issue with training materials

Serhii Snitsarenko 0 Reputation points
2024-06-27T15:37:42.6833333+00:00

The command for creation secret is forbidden for caller. Probably need to add some permission grinding or role assignment step.

This question is related to the following Learning Module

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,270 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. TP 83,221 Reputation points
    2024-06-27T16:26:43+00:00

    Hi,

    In the exercise, please use command similar to below to create the key vault. You need to substitute the correct sandbox resource group name for [sandbox resource group name] and enter a unique vault name:

    az keyvault create --resource-group "[sandbox resource group name]" --location centralus --name <your-unique-vault-name> --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