Skip to content

Credentials

flowtask.interfaces.credentials

CredentialsInterface

CredentialsInterface(*args, **kwargs)

Bases: ABC

get_env_value

get_env_value(key, default=None, expected_type=None)

Retrieves a value from the environment variables or the configuration.

:param key: The key for the environment variable. :param default: The default value to return if the key is not found. :return: The value of the environment variable or the default value.