SecretList Event

Fires once for each secret when listing secrets.

Syntax

public event OnSecretListHandler OnSecretList;

public delegate void OnSecretListHandler(object sender, AzuresecretsSecretListEventArgs e);

public class AzuresecretsSecretListEventArgs : EventArgs {
  public string Name { get; }
  public string VersionId { get; }
  public string ContentType { get; }
  public bool Enabled { get; }
  public long CreationDate { get; }
  public long UpdateDate { get; }
  public long DeletionDate { get; }
  public long PurgeDate { get; }
}
Public Event OnSecretList As OnSecretListHandler

Public Delegate Sub OnSecretListHandler(sender As Object, e As AzuresecretsSecretListEventArgs)

Public Class AzuresecretsSecretListEventArgs Inherits EventArgs
  Public ReadOnly Property Name As String
  Public ReadOnly Property VersionId As String
  Public ReadOnly Property ContentType As String
  Public ReadOnly Property Enabled As Boolean
  Public ReadOnly Property CreationDate As Long
  Public ReadOnly Property UpdateDate As Long
  Public ReadOnly Property DeletionDate As Long
  Public ReadOnly Property PurgeDate As Long
End Class

Remarks

This event fires once for each secret (or secret version) returned when ListSecrets, ListVersions, or GetSecret is called.

Name reflects the name of the secret.

VersionId reflects the Id of the secret version.

ContentType reflects the secret's content type.

Enabled reflects whether the secret is currently enabled.

CreationDate reflects the secret's creation date, in seconds since the Unix epoch.

UpdateDate reflects the secret's update date, in seconds since the Unix epoch.

DeletionDate reflects the secret's deletion date, in seconds since the Unix epoch, or -1 if the secret has not been deleted.

PurgeDate reflects the secret's purge (i.e., permanent deletion) date, in seconds since the Unix epoch, or -1 if the secret has not been deleted.

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