sdk.lusid.extensions.configuration_loaders.SecretsFileConfigurationLoader

class SecretsFileConfigurationLoader(api_secrets_file)[source]

Configuration Loader for reading secrets from a json secrets file

Create SecretsFileConfigurationLoader

Parameters:

api_secrets_file (Union[TextIO, str]) – File to load secrets from

Methods

load_config

reads config from the provided secrets file

load_config()[source]

reads config from the provided secrets file

Return type:

Dict[str, str]

Returns:

dictionary that can be loaded into an ApiConfiguration object

Return type:

Dict[str, str]