admin管理员组

文章数量:1425763

My BL generates a dynamics token (expirable) and stores it in Azure Key value, uses this token in further logic, and generates a new token once it expires. This process creates many expired secrets in the Az Key Vault. The question is how I can learn them as expired (older versions) secrets very going to be used ever. I want to clean them.

My BL generates a dynamics token (expirable) and stores it in Azure Key value, uses this token in further logic, and generates a new token once it expires. This process creates many expired secrets in the Az Key Vault. The question is how I can learn them as expired (older versions) secrets very going to be used ever. I want to clean them.

Share Improve this question edited Mar 24 at 11:55 halfer 20.4k19 gold badges109 silver badges202 bronze badges asked Jan 2 at 0:05 Deepak ShawDeepak Shaw 6697 silver badges8 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 2

I have checked both Delete Secret - Delete Secret and related Remove-AzKeyVaultSecret, and found no way to adding the version parameters.

It seems that Azure does not support deleting specify version of secrets. About this topic, GitHub has a issue discussion. You can check the details here.

本文标签: How to clear older version of secrets from Azure key VaultStack Overflow