question

SaurabhSharma-msft avatar image
0 Votes"
SaurabhSharma-msft asked ·

What is the difference between a key and a secret in Azure Key Vault?

What is the difference between a key and a secret in Azure Key Vault?


Note: As we migrate from MSDN, this question has been posted by an Azure Cloud Engineer as a frequently asked question

Source: Key Vault


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.

MarileeTurscak avatar image
0 Votes"
MarileeTurscak answered ·

A secret is anything that you want to tightly control access to, such as API keys, passwords, or certificates.

A key is a cryptographic key represented as a JSON Web Key [JWK] object. Key Vault supports RSA and Elliptic Curve Keys only.

Source: 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.

JosMiguelLopezBecerra-2109 avatar image
0 Votes"
JosMiguelLopezBecerra-2109 answered ·

Also one important difference, is that a Key can never leave the Key-Vault boundary. Even the owner of the key vault cannot see or retrieve the clear "key". However, that is not the case with "secrets".

·
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.