diff --git a/adjutant/config/identity.py b/adjutant/config/identity.py index a8a9306..dbd4832 100644 --- a/adjutant/config/identity.py +++ b/adjutant/config/identity.py @@ -134,4 +134,12 @@ _auth_group.register_child_config( required_for_tests=False, ) ) +_auth_group.register_child_config( + fields.StrConfig( + "interface", + help_text="Keystone endpoint interface type.", + default="public", + required=True, + ) +) config_group.register_child_config(_auth_group) diff --git a/adjutant/wsgi.py b/adjutant/wsgi.py index 90f8c4c..9001e4f 100644 --- a/adjutant/wsgi.py +++ b/adjutant/wsgi.py @@ -44,6 +44,7 @@ conf = { "project_domain_id": CONF.identity.auth.project_domain_id, "user_domain_id": CONF.identity.auth.user_domain_id, "auth_url": CONF.identity.auth.auth_url, + "interface": CONF.identity.auth.interface, "delay_auth_decision": True, "include_service_catalog": False, "token_cache_time": CONF.identity.token_cache_time,