class documentation

class SDKFetcher(Fetcher): (source)

Constructor: SDKFetcher(client)

View In Hierarchy

Fetches secrets directly from Secrets Manager. If no client is given, one is created from the default AWS config on first use.

Method __init__ Create the fetcher.
Method fetch Fetch the current value of the given secret.
Property path The fetch_path metric label for this fetcher.
Method _get_client Undocumented
Instance Variable _client Undocumented
Instance Variable _lock Undocumented
def __init__(self, client: SecretsClient | None = None): (source)

Create the fetcher.

def fetch(self, secret_id: str) -> SecretValue: (source)

Fetch the current value of the given secret.

The fetch_path metric label for this fetcher.

def _get_client(self) -> SecretsClient: (source)

Undocumented

Undocumented

Undocumented