VersionList Event

Fires once for each secret version when listing secret versions.

Syntax

public class DefaultAmazonsecretsEventListener implements AmazonsecretsEventListener {
  ...
  public void versionList(AmazonsecretsVersionListEvent e) {}
  ...
}

public class AmazonsecretsVersionListEvent {
  public String secretARN;
  public String secretName;
  public String versionId;
  public String stagingLabels;
  public String creationDate;
  public String lastAccessDate;
}

Remarks

This event fires once for each secret version returned when ListVersions, GetSecretInfo, or (if the AlwaysParseVersions configuration setting is enabled) ListSecrets is called. Note that CreationDate and LastAccessDate are only populated when ListVersions is called.

SecretARN reflects the Amazon resource name of the secret this is a version of.

SecretName reflects the name of the secret this is a version of.

VersionId reflects the Id of the secret version.

StagingLabels reflects a comma-separated list of staging labels attached to the secret version.

CreationDate reflects the secret version's creation date, in seconds since the Unix epoch (including fractional seconds).

LastAccessDate reflects the secret version's last access date, in seconds since the Unix epoch. It provides date-level resolution only, the time is not included.

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