elastauth

command module
v1.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 8 Imported by: 0

README

elastauth

Docker Repository on Quay CI Maintainability Go Reference

Designed to work as a forwardAuth proxy for Traefik (possibly others, like nginx, but not tested) in order to use LDAP/Active Directory for user access in Elasticsearch without paid subscription.

  1. Request goes to Traefik

  2. Traefik proxies it to Authelia in order to verify user

  3. If it receives 200 forwards headers from Authelia to second auth -> kibana-auth-proxy

  4. kibana-proxy-auth:

    • generates random password for local Kibana user (has nothing to do with LDAP password)

    • uses information from Authelia headers to create/update local user in Kibana + AD group/kibana roles mappings from config file

    • generates and passes back to Traefik header:

      Authorization: Basic XXXYYYZZZZ
      
  5. Traefik passes user to Kibana with Authorization header which has password already set by kibana-proxy-pass and logs him/her in :)

  6. Passwords are meant to have short time span of life and are regenerated transparently for user while using Kibana

Headers used by Authelia and kibana-auth-proxy:

remote-email
remote-groups
remote-name
remote-user

architecture

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL