tabsdata.EnvironmentSecret
- class EnvironmentSecret(
- environment_variable_name: str,
Bases:
SecretSecrets class representing a secret obtained from an environment variable in the server.
- environment_variable_name
Name of the environment variable from which we will obtain the secret value.
- Type:
- to_dict() dict
Convert the EnvironmentSecret object to a dictionary.
- secret_value() str
Get the secret value.
- __init__(
- environment_variable_name: str,
Initialize the EnvironmentSecret object.
- Parameters:
environment_variable_name (str) – Name of the environment variable from which
value. (we will obtain the secret)
Methods
__init__(environment_variable_name)Initialize the EnvironmentSecret object.