fiftyone.internal.secrets.providers.iprovider¶
FiftyOne secrets provider interface
Classes:
-
class
fiftyone.internal.secrets.providers.iprovider.
ISecretProvider
¶ Bases:
abc.ABC
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
-
abstract async
get
(key: str, **kwargs) → Optional[fiftyone.internal.secrets.secret.ISecret]¶ Get a secret by key.
-
abstract
get_sync
(key: str, **kwargs) → Optional[fiftyone.internal.secrets.secret.ISecret]¶ Get a secret by key in a synchronous context.
-
abstract async
get_multiple
(keys: List[str], **kwargs) → Dict[str, Optional[fiftyone.internal.secrets.secret.ISecret]]¶ Get multiple secrets by key.
-
abstract async
search
(regex: str, **kwargs) → Dict[str, Optional[fiftyone.internal.secrets.secret.ISecret]]¶ Get secrets with keys matching regex
-
abstract async