SecretList Event

Fires once for each secret when listing secrets.

Syntax

ANSI (Cross Platform)
virtual int FireSecretList(GoogleSecretsSecretListEventParams *e);
typedef struct {
const char *Name;
const char *VersionId;
const char *State;
const char *CreationDate;
const char *DestructionDate; int reserved; } GoogleSecretsSecretListEventParams; Unicode (Windows) virtual INT FireSecretList(GoogleSecretsSecretListEventParams *e);
typedef struct {
LPCWSTR Name;
LPCWSTR VersionId;
LPCWSTR State;
LPCWSTR CreationDate;
LPCWSTR DestructionDate; INT reserved; } GoogleSecretsSecretListEventParams;
- (void)onSecretList:(NSString*)name :(NSString*)versionId :(NSString*)state :(NSString*)creationDate :(NSString*)destructionDate;
#define EID_GOOGLESECRETS_SECRETLIST 6

virtual INT CLOUDKEYS_CALL FireSecretList(LPSTR &lpszName, LPSTR &lpszVersionId, LPSTR &lpszState, LPSTR &lpszCreationDate, LPSTR &lpszDestructionDate);

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 C++ Edition - Version 20.0 [Build 8157]