Cloud Keys 2020 Kotlin Edition

Questions / Feedback?

SecretList Event

Fires once for each secret when listing secrets.

Syntax

public open class DefaultAzuresecretsEventListener : AzuresecretsEventListener {
  ...
  public override fun secretList(e: AzuresecretsSecretListEvent) {}
  ...
}

public class AzuresecretsSecretListEvent {
  val name: String?
  val versionId: String?
  val contentType: String?
  val enabled: Boolean
  val creationDate: Long
  val updateDate: Long
  val deletionDate: Long
  val purgeDate: Long
}

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) 2021 /n software inc. - All rights reserved.
Cloud Keys 2020 Kotlin Edition - Version 20.0 [Build 7876]