confd
confd copied to clipboard
ACL support for consul backend
Hi,
Consul 0.4.0 supports acl's, are there any plans to support this in the consul backend ?
cheers,
Johan
@provonet How would this work? Are the ACLs per key?
the acls are per prefix (see: http://www.consul.io/docs/internals/acl.html) within a config.toml file it might look like this:
[template] src = "config.yaml.tmpl" dest = "/opt/bla/config.yaml" prefix = "/bla" token = '00112233AABB' keys = [ "key1", "key2", ] where token is the UUID for the particular ACL.
@provonet Ok that looks pretty straight forward. +1
This feature would help a lot to secure consul setups with confd +1
+1
I was hoping that the auth-token config param would at least pass the master token to consul but it doesn't. Just master token support would be a good start.
I've dug around the code and found if I set the ENV variable CONSUL_HTTP_TOKEN, I can pass the master token.
I've forked the code and have a working example (https://github.com/juicedM3/confd). I need to write tests and create a pull request.
Pull request https://github.com/kelseyhightower/confd/pull/369.
Is there any update regarding the status of this feature?
Feel free to take a crack at a PR.
still no update i guess?
Project dev has essentially stalled for the last two years, so yes.