Merge "Use 'barbican_endpoint_type'config option to get endpoint from catalog"
Zuul authored 3 years ago
Gerrit Code Review committed 3 years ago
192 | 192 | return barbican.barbican_endpoint |
193 | 193 | elif getattr(auth, 'service_catalog', None): |
194 | 194 | endpoint_data = auth.service_catalog.endpoint_data_for( |
195 | service_type='key-manager') | |
195 | service_type='key-manager', | |
196 | interface=barbican.barbican_endpoint_type) | |
196 | 197 | return endpoint_data.url |
197 | 198 | else: |
198 | 199 | service_parameters = {'service_type': 'key-manager', |