Support Consul ACL tokens
Bug #1752205 reported by
Nick Maludy
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tooz |
Fix Released
|
Wishlist
|
punkrokk |
Bug Description
Consul's authentication mechanism is implemented using "ACL tokens": https:/
The python-consul module currently in use supports these tokens: http://
It would be great if tooz could take advantage of this feature so tooz can interact with secured Consul clusters.
Changed in python-tooz: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
Changed in python-tooz: | |
assignee: | nobody → punkrokk (punkrokk) |
Changed in python-tooz: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
It would be great if this token could be passed in via the URL, example: consul://<email address hidden>
I verified this could be done by hijacking the username or password portions of the URL:
In [6]: result = oslo_utils. netutils. urlsplit( "consul: //<email address hidden>")
In [7]: result.username 0ee0-8783- 6cc2-ab1aa9bb16 c1'
Out[7]: 'fe3b8d40-
In [8]: result = oslo_utils. netutils. urlsplit( "consul: //:<email address hidden>")
In [9]: result.password 0ee0-8783- 6cc2-ab1aa9bb16 c1'
Out[9]: 'fe3b8d40-