For an Azure Key Vault, is it possible that within a single keyvault different secrets are used to access different resources (yes/no)? If yes, how?

Yeap Jie Zhi Mark 141 Reputation points
2021-03-19T03:46:11.507+00:00

For an Azure Key Vault, is it possible that within a single key vault different secrets are used to access different resources (yes/no)? If yes, how?

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

Accepted answer
  1. Siva-kumar-selvaraj 15,546 Reputation points
    2021-03-19T09:20:48.567+00:00

    Hello @Yeap Jie Zhi Mark ,

    Thanks for reaching out.

    Yes, you can create many secrets in Single Azure Key Vault which can be used for different resources and there is no limit to the number of secrets in Key Vault.

    Each objects in Azure Key Vault such as secret will have unique identifier and URL as shown below which can be used to access given secret for different resource.

    Here are some example of how to retrieve a secret from Key Vault:
    PowerShell
    Azure Portal
    REST API

    79516-image.png

    In addition to that Objects stored in Key Vault (secrets) are versioned whenever a new instance of an object is created. Each version is assigned a unique identifier and URL.

    The URL consists of a prefix that identifies the Key Vault, object type, user provided Object Name, and an Object Version.

    For Vaults: https://{vault-name}.vault.azure.net/{object-type}/{object-name}/{object-version}

    79595-image.png

    To learn more, read Azure Key Vault keys, secrets and certificates overview

    Azure Key vault has some Service limits and Throttling guidance which you may want to consider for large environments and for designing secure applications heavily relying on Key vault operations.

    Hope this helps.

    Regards,
    Siva Kumar Selvaraj

    -----------

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

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Yeap Jie Zhi Mark 141 Reputation points
    2021-03-19T09:41:18.37+00:00

    Thank you for the answer.

    0 comments No comments