class documentation

class EnvSecretProvider(ISecretProvider): (source)

View In Hierarchy

Exposes secrets from environment variables.

Async Method get Get a secret by key.
Async Method get_multiple Get multiple secrets by key.
Method get_sync Get a secret by key in a synchronous context.
Async Method search Get secrets with keys matching regex
async def get(self, key, **kwargs) -> ISecret | None: (source)
async def get_multiple(self, keys: list[str], **kwargs) -> dict[str, ISecret | None]: (source)
def get_sync(self, key, **kwargs) -> ISecret | None: (source)

Get a secret by key in a synchronous context.

async def search(self, regex: str, **kwargs) -> dict[str, ISecret | None]: (source)

Get secrets with keys matching regex