How to fix "Secrets should have the specified maximum validity period"

Lanh Khưu 46 Reputation points
2022-11-03T08:09:09.06+00:00

256569-image.png
what value of maximumValidityInDays ? How much?

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,194 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
836 questions
{count} votes

Accepted answer
  1. rafalzak 3,221 Reputation points
    2022-11-03T09:47:48.357+00:00

    Hi @ LanhKhu-3439,

    It depends on your company policy.
    Using a secret with a long validity period is not recommended.
    You can put there for example: 7 - for seven days, 31 for month,180 - for 6 months, 365 - for one year or more based on your requirements.

    Please upvote or accept as answer if it helped.


0 additional answers

Sort by: Most helpful