module documentation
Fetchers that retrieve secret values from AWS Secrets Manager.
Fetchers are synchronous and called from a worker thread, so that the cache that uses them isn't bound to any event loop.
| Class | |
Fetches secret values by ID. Must be safe to call from multiple threads. |
| Class | |
Fetches secrets through the AWS Parameters and Secrets Lambda Extension. See https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieving-secrets_lambda.html. |
| Class | |
Fetches secrets directly from Secrets Manager. If no client is given, one is created from the default AWS config on first use. |
| Class | |
A fetched secret value. |
| Function | boto3 |
Whether boto3 can be imported. |
| Function | new |
Return a fetcher for the Lambda extension if it is detected, and otherwise an SDK fetcher with a client created from the default AWS config. |
| Constant | ENV |
Undocumented |
| Constant | FETCH |
Undocumented |
| Function | _new |
Undocumented |
| Constant | _DEFAULT |
Undocumented |
| Constant | _ENV |
Undocumented |
| Constant | _ENV |
Undocumented |
| Constant | _LAMBDA |
Undocumented |
| Constant | _LAMBDA |
Undocumented |
| Constant | _LAMBDA |
Undocumented |
Return a fetcher for the Lambda extension if it is detected, and otherwise an SDK fetcher with a client created from the default AWS config.
The extension doesn't set PARAMETERS_SECRETS_EXTENSION_HTTP_PORT in the function's environment unless the user configured it, so if it is unset and running in Lambda, the extension's default port is probed. Setting it to empty disables detection, for when another service uses the default port.