DeleteSecret Method

Deletes a secret.

Syntax

public void DeleteSecret(string secretName);
Public Sub DeleteSecret(ByVal SecretName As String)

Remarks

This method deletes the secret specified by SecretName. If there are multiple versions of the secret, all of them are deleted.

Note that the secret is only soft-deleted; it can be recovered during the retention period using the RecoverSecret method, or permanently deleted using the PurgeSecret method. The length of the retention period depends on the configuration of the currently-selected Vault, refer to the Azure Key Vault documentation for more information.

Copyright (c) 2022 /n software inc. - All rights reserved.
Cloud Keys 2020 .NET Edition - Version 20.0 [Build 8157]