Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consul ACL support #247

Open
scalp42 opened this issue Feb 11, 2021 · 2 comments
Open

Consul ACL support #247

scalp42 opened this issue Feb 11, 2021 · 2 comments

Comments

@scalp42
Copy link

scalp42 commented Feb 11, 2021

Hi folks,

Are ACLs supported? Looking at the docs, it doesn't seem that there's a way to pass a Consul token.

Let me know if I missed it.

@lukidzi
Copy link
Contributor

lukidzi commented Feb 11, 2021

Hi. There is no option to configure Consul token at the moment. Does your Consul cluster requires ACL token for: https://www.consul.io/api-docs/health#list-nodes-for-service ?

@slonka
Copy link
Contributor

slonka commented Feb 16, 2021

It would require a change to add the token here: https://github.com/allegro/consul-recipes/blob/f42b2367f04fdd7646877889a61e4549aa50adcd/src/main/java/pl/allegro/tech/discovery/consul/recipes/watch/ConsulWatcher.java#L37 and then use it here:

and pass it somewhere in the configuration. The change should not be complicated if you want to implement it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants