fiftyone.internal.secrets.secret¶
FiftyOne secret types
Classes:
|
Secret interface. |
|
Abstract secret. |
|
Fiftyone secret with plaintext value. |
-
class
fiftyone.internal.secrets.secret.
ISecret
¶ Bases:
abc.ABC
Secret interface.
Attributes:
The secret’s string identifier.
The secret’s value.
-
abstract property
key
¶ The secret’s string identifier.
-
abstract property
value
¶ The secret’s value.
-
abstract property
-
class
fiftyone.internal.secrets.secret.
AbstractSecret
(key: str, value: str)¶ Bases:
fiftyone.internal.secrets.secret.ISecret
,abc.ABC
Abstract secret.
Attributes:
The secret’s string identifier.
The secret’s value.
Whether the secret is encrypted.
-
abstract property
key
¶ The secret’s string identifier.
-
abstract property
value
¶ The secret’s value.
-
abstract property
is_encrypted
¶ Whether the secret is encrypted.
-
abstract property
-
class
fiftyone.internal.secrets.secret.
UnencryptedSecret
(key: str, value: str)¶ Bases:
fiftyone.internal.secrets.secret.AbstractSecret
Fiftyone secret with plaintext value.
Attributes:
The secret’s string identifier.
The secret’s value.
Whether the secret is encrypted.
-
property
key
¶ The secret’s string identifier.
-
property
value
¶ The secret’s value.
-
property
is_encrypted
¶ Whether the secret is encrypted.
-
property