Exam-Answer

Home / Microsoft / AZ-300 / Question 99

Prev Question
Next Question

Question 99

The following secret identifier exists in an Azure key vault: https://exam-answer.vault.azure.net/secrets/billingApiKey/a23df1a2eb5cb4a3696348504f74704c8

You need to use Azure CLI to retrieve the value for the secret.

Which command should you use? Select correct placeholder values.

az keyvault secret show --name PLACEHOLDER 1 --vault-name PLACEHOLDER 2

Answers


Advertisement

Explanation

You should use the following command:

az keyvault secret show --name billingApiKey --vault-name exam-answer

This command sets the --name parameter to billingApiKey, which represents the name of the secret. It also sets the --vault-name parameter to exam-answer, which represents the name of the key vault. The secret identifier URL is always in the format https://{key vault name}.vault.azure.net/secrets/{secret name}/{secret version}.

References

Comments

Load more
Prev Question
Next Question