Cloud Keys 2020 Node.js Edition

Questions / Feedback?

SecretList Event

Fires once for each secret when listing secrets.

Syntax

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

Callback

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

function(e){ }

The argument 'e' has the following properties:

e.name
e.versionId
e.contentType
e.enabled
e.creationDate
e.updateDate
e.deletionDate
e.purgeDate

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 Node.js Edition - Version 20.0 [Build 8157]