question

YeapJieZhiMark-5492 avatar image
0 Votes"
YeapJieZhiMark-5492 asked ·

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?

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
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

sikumars-msft avatar image
0 Votes"
sikumars-msft answered ·

Hello @YeapJieZhiMark-5492,

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.


image.png (74.6 KiB)
image.png (39.1 KiB)
·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

YeapJieZhiMark-5492 avatar image
0 Votes"
YeapJieZhiMark-5492 answered ·

Thank you for the answer.

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.