What is the maximum limit for key vault secrets

Tanul 1,281 Reputation points
2023-06-15T14:12:46.22+00:00

What is the maximum number of secrets can we save in Azure key vault.

I am not asking about size.. I already know about that 25K bytes theory, Just wanted to know the max count for secrets.

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

3 answers

Sort by: Most helpful
  1. TP 101.3K Reputation points
    2023-06-15T14:18:47.1733333+00:00

    Hi,

    According to the documentation, there are no restrictions on the number of secrets you can store in a vault. Please see article below for more details:

    Limits on count of keys, secrets and certificates

    https://learn.microsoft.com/en-us/azure/key-vault/general/service-limits#limits-on-count-of-keys-secrets-and-certificates

    Please click Accept Answer if the above was helpful.

    Thanks.

    -TP


  2. Tech-Hyd-1989 5,806 Reputation points
    2023-06-15T14:20:27.8733333+00:00

    Hello Tanul

    The maximum number of secrets you can store in an Azure Key Vault is not explicitly limited by a fixed count. Azure Key Vault has a soft limit on the number of secrets based on the size of the vault, rather than a hard limit on the count of secrets.

    The storage capacity of an Azure Key Vault is limited by the total size of all the secrets, certificates, and keys stored within it. The maximum size of a single Key Vault is 25 KB (25,600 bytes) for standard vaults and 50 KB (51,200 bytes) for premium vaults.

    Since each secret has its own size, the number of secrets you can store in a Key Vault depends on the sizes of the individual secrets and the overall capacity limit of the vault. As long as the combined sizes of all the secrets you store in the Key Vault do not exceed the maximum size limit, you can store as many secrets as you need.

    To ensure efficient usage and avoid reaching the maximum capacity, it is recommended to consider the size of the secrets and plan the organization and management of secrets within Azure Key Vault accordingly.

    Reference Link: https://learn.microsoft.com/en-us/azure/key-vault/general/service-limits#limits-on-count-of-keys-secrets-and-certificates


  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

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.