Barbican charm currently sets the host_href config option to the barbican admin endpoint. It would be good to make this configurable to select between public and admin:
$ openstack endpoint list --service barbican
+----------------------------------+-----------+--------------+--------------+---------+-----------+--------------------------------+
| ID | Region | Service Name | Service Type | Enabled | Interface | URL |
+----------------------------------+-----------+--------------+--------------+---------+-----------+--------------------------------+
| 94927250b89448b3a6bd6986515df729 | RegionOne | barbican | key-manager | True | internal | https://10.5.0.73:9311 |
| dafcbb5468054e5a9476ebc01f1c4a02 | RegionOne | barbican | key-manager | True | public | https://testdomain.public:9311 |
| e9e11ff75ce44950bd77e54c481dc659 | RegionOne | barbican | key-manager | True | admin | https://testdomain.admin:9312 |
+----------------------------------+-----------+--------------+--------------+---------+-----------+--------------------------------+
Barbican charm currently sets the host_href config option to the barbican admin endpoint. It would be good to make this configurable to select between public and admin:
$ openstack endpoint list --service barbican ------- ------- ------- ------- +------ -----+- ------- ------+ ------- ------- +------ ---+--- ------- -+----- ------- ------- ------- ------+ ------- ------- ------- ------- +------ -----+- ------- ------+ ------- ------- +------ ---+--- ------- -+----- ------- ------- ------- ------+ 3a6bd6986515df7 29 | RegionOne | barbican | key-manager | True | internal | https:/ /10.5.0. 73:9311 | a9476ebc01f1c4a 02 | RegionOne | barbican | key-manager | True | public | https:/ /testdomain. public: 9311 | 0bd77e54c481dc6 59 | RegionOne | barbican | key-manager | True | admin | https:/ /testdomain. admin:9312 | ------- ------- ------- ------- +------ -----+- ------- ------+ ------- ------- +------ ---+--- ------- -+----- ------- ------- ------- ------+
+------
| ID | Region | Service Name | Service Type | Enabled | Interface | URL |
+------
| 94927250b89448b
| dafcbb5468054e5
| e9e11ff75ce4495
+------