diff --git a/jans-pycloudlib/jans/pycloudlib/config/file_config.py b/jans-pycloudlib/jans/pycloudlib/config/file_config.py index e4718f0d760..3869fab4fad 100644 --- a/jans-pycloudlib/jans/pycloudlib/config/file_config.py +++ b/jans-pycloudlib/jans/pycloudlib/config/file_config.py @@ -12,7 +12,7 @@ class FileConfig(BaseConfig): def __init__(self) -> None: filepath = os.environ.get("CN_CONFIGURATOR_CONFIGURATION_FILE", "/etc/jans/conf/configuration.json") - key_file = os.environ.get("CN_CONFIGURATOR_CONFIGURATION_KEY_FILE", "/etc/jans/conf/configuration.key") + key_file = os.environ.get("CN_CONFIGURATOR_KEY_FILE", "/etc/jans/conf/configuration.key") out, err, code = load_schema_from_file(filepath, exclude_secret=True, key_file=key_file) if code != 0: diff --git a/jans-pycloudlib/jans/pycloudlib/secret/file_secret.py b/jans-pycloudlib/jans/pycloudlib/secret/file_secret.py index 75022cab539..8386d43c7cb 100644 --- a/jans-pycloudlib/jans/pycloudlib/secret/file_secret.py +++ b/jans-pycloudlib/jans/pycloudlib/secret/file_secret.py @@ -12,7 +12,7 @@ class FileSecret(BaseSecret): def __init__(self) -> None: filepath = os.environ.get("CN_CONFIGURATOR_CONFIGURATION_FILE", "/etc/jans/conf/configuration.json") - key_file = os.environ.get("CN_CONFIGURATOR_CONFIGURATION_KEY_FILE", "/etc/jans/conf/configuration.key") + key_file = os.environ.get("CN_CONFIGURATOR_KEY_FILE", "/etc/jans/conf/configuration.key") out, err, code = load_schema_from_file(filepath, exclude_configmap=True, key_file=key_file) if code != 0: