Consul: Consul Web UI: Need to make it password enabled

Created on 15 Feb 2016  路  10Comments  路  Source: hashicorp/consul

Hi Guys,
I am new to consul and just setting it up.
Both web UI and 1 server consul set up is working fine.

Is there a way to secure web ui through any token or pasword.

Right now web UI is directly available at

http://localhost:8500/

Most helpful comment

I agree this is a bit silly to not do basic auth as proxying isn't quite there yet (ex: doesn't work under a subdirectory)

All 10 comments

We have HAProxy sitting in front with Basic Auth over HTTPs.

When I ran a Consul Web UI I just used nginx and https://github.com/bitly/oauth2_proxy to provide authentication.

Hi @Niks-JJ we don't plan on adding any auth built-in - proxying it with another web server as @polds and @highlyunavailable have suggested is definitely the way to go.

@slackpad I think serving both UI and API over the same port kinda complicates this, though.

+1 for even basic auth, it's silly to need to set up a whole proxy just to provide basic access control for what's supposed to be a full-featured cluster orchestration service

Well doing our own proxy (HAProxy) actually let us use Consul K/V to store the hashed passwords of users and use Consul Template to write the haproxy.cfg file to include the basic auth users. So Consul controls access to itself.

I agree this is a bit silly to not do basic auth as proxying isn't quite there yet (ex: doesn't work under a subdirectory)

Hello world,
i have recently started working with consul, and i am trying to use ACLs to conrol access, could you please help me !! :)
thank's for your help

Are we still reliant on a third party products to provide auth via Consul's web UI??

We have HAProxy sitting in front with Basic Auth over HTTPs.

How can we achieve it any links

Hey there,

This issue has been automatically locked because it is closed and there hasn't been any activity for at least _30_ days.

If you are still experiencing problems, or still have questions, feel free to open a new one :+1:.

Was this page helpful?
0 / 5 - 0 ratings