SecretList Event

Fires once for each secret when listing secrets.

Syntax

ANSI (Cross Platform)
virtual int FireSecretList(AzureSecretsSecretListEventParams *e);
typedef struct {
const char *Name;
const char *VersionId;
const char *ContentType;
int Enabled;
int64 CreationDate;
int64 UpdateDate;
int64 DeletionDate;
int64 PurgeDate; int reserved; } AzureSecretsSecretListEventParams; Unicode (Windows) virtual INT FireSecretList(AzureSecretsSecretListEventParams *e);
typedef struct {
LPCWSTR Name;
LPCWSTR VersionId;
LPCWSTR ContentType;
BOOL Enabled;
LONG64 CreationDate;
LONG64 UpdateDate;
LONG64 DeletionDate;
LONG64 PurgeDate; INT reserved; } AzureSecretsSecretListEventParams;
- (void)onSecretList:(NSString*)name :(NSString*)versionId :(NSString*)contentType :(BOOL)enabled :(long long)creationDate :(long long)updateDate :(long long)deletionDate :(long long)purgeDate;
#define EID_AZURESECRETS_SECRETLIST 5

virtual INT CLOUDKEYS_CALL FireSecretList(LPSTR &lpszName, LPSTR &lpszVersionId, LPSTR &lpszContentType, BOOL &bEnabled, LONG64 &lCreationDate, LONG64 &lUpdateDate, LONG64 &lDeletionDate, LONG64 &lPurgeDate);

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