fiftyone.internal.secrets.providers.local¶
FiftyOne env secrets provider
Classes:
Exposes secrets from environment variables. |
-
class
fiftyone.internal.secrets.providers.local.
EnvSecretProvider
¶ Bases:
fiftyone.internal.secrets.providers.iprovider.ISecretProvider
Exposes secrets from environment variables.
Methods:
get
(key, **kwargs)Get a secret by key.
get_sync
(key, **kwargs)Get a secret by key in a synchronous context.
get_multiple
(keys, **kwargs)Get multiple secrets by key.
search
(regex, **kwargs)Get secrets with keys matching regex
-
async
get
(key, **kwargs) → Optional[fiftyone.internal.secrets.secret.ISecret]¶ Get a secret by key.
-
get_sync
(key, **kwargs) → Optional[fiftyone.internal.secrets.secret.ISecret]¶ Get a secret by key in a synchronous context.
-
async
get_multiple
(keys: List[str], **kwargs) → Dict[str, Optional[fiftyone.internal.secrets.secret.ISecret]]¶ Get multiple secrets by key.
-
async
search
(regex: str, **kwargs) → Dict[str, Optional[fiftyone.internal.secrets.secret.ISecret]]¶ Get secrets with keys matching regex
-
async