Revert Secrets

Lin Yang 1 Reputation point
2021-07-16T20:48:48.513+00:00

I accidentally deleted Secret. How to revert it.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,971 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Marilee Turscak-MSFT 37,061 Reputation points Microsoft Employee
    2021-07-16T21:30:59.253+00:00

    Are you referring to a Key Vault secret?

    If that is the case you can use the following operation to recover the deleted secret:

    POST {vaultBaseUrl}/deletedsecrets/{secret-name}/recover?api-version=7.2  
    

    https://learn.microsoft.com/en-us/rest/api/keyvault/recover-deleted-secret/recover-deleted-secret


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.