Cloud Keys 2020 Node.js Edition

Questions / Feedback?

SecretList Event

Fires once for each secret when listing secrets.

Syntax

amazonsecrets.on('SecretList', [callback])

Callback

The 'callback' is called when the 'SecretList' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.ARN
e.name
e.description
e.creationDate
e.deletionDate
e.lastAccessDate
e.lastChangeDate

Remarks

This event fires once for each secret returned when ListSecrets or GetSecretInfo is called.

ARN reflects the Amazon resource name of the secret.

Name reflects the name of the secret.

Description reflects the secret's description.

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

DeletionDate reflects the secret's scheduled deletion date, if applicable, in seconds since the Unix epoch (including fractional seconds).

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

LastChangeDate reflects the secret's last change date, in seconds since the Unix epoch (including fractional seconds).

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