Cloud Keys 2020 JavaScript Edition

Questions / Feedback?

SecretList Event

Fires once for each secret when listing secrets.

Syntax

googlesecrets.on('SecretList', listener: (e: {readonly name: string, readonly versionId: string, readonly state: string, readonly creationDate: string, readonly destructionDate: string}) => void )

Remarks

This event fires once for each secret or secret version returned when GetSecretInfo, ListSecrets, GetVersionInfo, or ListVersions is called. Note that for secrets, only the Name and CreationDate parameters will be populated.

Name reflects the name of the secret.

VersionId reflects the Id of the secret version.

State reflects the state of the secret version.

CreationDate reflects the creation date of the secret or secret version, formatted as an RFC 3339 UTC timestamp.

DestructionDate reflects the destruction date of the secret version, formatted as an RFC 3339 UTC timestamp, or empty if the secret version has not been destroyed.

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