Complete the code to create a Key Vault resource in Azure.
az keyvault create --name [1] --resource-group MyResourceGroup --location eastusThe az keyvault create command requires the name of the Key Vault. 'MyKeyVault' is a valid name for the vault.
Complete the code to add a certificate to the Azure Key Vault.
az keyvault certificate create --vault-name MyKeyVault --name [1] --policy @policy.jsonThe --name parameter specifies the certificate name. 'MyCertificate' is appropriate here.
Fix the error in the command to retrieve a secret from the Key Vault.
az keyvault secret [1] --vault-name MyKeyVault --name MySecretThe show command retrieves the value of a secret from the Key Vault.
Fill both blanks to assign access policy to a user for the Key Vault.
az keyvault set-policy --name MyKeyVault --upn [1] --secret-permissions [2]
The --upn option requires the user's email. The --secret-permissions option specifies allowed actions like 'get'.
Fill all three blanks to create a secret with a value in the Key Vault.
az keyvault secret [1] --vault-name MyKeyVault --name [2] --value [3]
The set command creates or updates a secret. You provide the secret name and its value.