UserSecretsManager.TryDeleteSecret
Method
type UserSecretsManager interface { // ... omitted for brevity TryDeleteSecret(name string) (bool, error)}Signature
method
TryDeleteSecret Attempts to delete a user secret value synchronously.
TryDeleteSecret(name string) (bool, error)Parameters
namestringThe name of the secret.Returns
(bool, error) True if the secret was deleted successfully; otherwise, false.
Returns (bool, error).
Defined on
This method is defined on the following type: