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 badges1 Answer
Reset to default 2I 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.