Don't expect barbican service name to be barbican.

It is standard practice to search for services in the catalog by
service type and interface only. Service name should be left
to deployers to choose and this could be something other than barbican.

Change-Id: I9dddba1e52bbf1ee1d8227fdb45e625fdbf0a21b
This commit is contained in:
Sam Morrison 2020-12-01 13:52:01 +11:00
parent aede0861de
commit 4a4544b8ec

View File

@ -198,7 +198,6 @@ class BarbicanKeyManager(key_manager.KeyManager):
return endpoint_data.url
else:
service_parameters = {'service_type': 'key-manager',
'service_name': 'barbican',
'interface': barbican.barbican_endpoint_type}
return auth.get_endpoint(sess, **service_parameters)