Cloud Keys 2020 Python Edition

Questions / Feedback?

on_secret_list Event

Fires once for each secret when listing secrets.

Syntax

class AzureSecretsSecretListEventParams(object):
  @property
  def name() -> str: ...
  @property
  def version_id() -> str: ...
  @property
  def content_type() -> str: ...
  @property
  def enabled() -> bool: ...
  @property
  def creation_date() -> int: ...
  @property
  def update_date() -> int: ...
  @property
  def deletion_date() -> int: ...
  @property
  def purge_date() -> int: ...

# In class AzureSecrets:
@property
def on_secret_list() -> Callable[[AzureSecretsSecretListEventParams], None]: ...
@on_secret_list.setter
def on_secret_list(event_hook: Callable[[AzureSecretsSecretListEventParams], None]) -> None: ...

Remarks

This event fires once for each secret (or secret version) returned when list_secrets, list_versions, or get_secret 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 Python Edition - Version 20.0 [Build 8157]