For a given KeyVault secret, how to find the API version

Rajesh Swarnkar 911 Reputation points
2023-01-12T05:48:38.25+00:00

I have created a secret in Azure KeyVault. I would like to know the API Version of the keyvault.

For example:

https://myvault.vault.azure.net/secrets/mysuper-secret-string/?api-version=<what is here>

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

Accepted answer
  1. Stanislav Zhelyazkov 28,261 Reputation points MVP Volunteer Moderator
    2023-01-12T07:23:14.8733333+00:00

    Hi,

    In this case API version is the version for the Key Vault Rest API version. You can see documented API and version here. Secrets also have versions which are different from API versions. If you want to see the versions for a specific secret, you can use secret versions API. Not that basically for every call to the Key Vault API you need to specify API version. From the documentation that is 7.3.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    2 people found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. JamesTran-MSFT 36,911 Reputation points Microsoft Employee Moderator
    2023-01-12T23:06:30.7466667+00:00

    @Rajesh Swarnkar

    Thank you for your post!

    Adding onto what was already mentioned by @Stanislav Zhelyazkov , if you're solely looking for the API Version used when the HTTP request is being sent (/secrets/mysuper-secret-string/?api-version=) you can use the F12 Developer tools to check the version of the API.

    User's image

    Fiddler - You can also leverage Fiddler to view the raw requests and responses.

    If the information helped address your question, please Accept the answer. This will help us and also improve searchability for others in the community who might be researching similar information.

    1 person found this answer helpful.
    0 comments No comments

  2. Rajesh Swarnkar 911 Reputation points
    2023-01-13T06:58:57.72+00:00
    0 comments No comments

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.