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

different authentication backends #38

Open
till opened this issue Apr 26, 2024 · 0 comments
Open

different authentication backends #38

till opened this issue Apr 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@till
Copy link
Collaborator

till commented Apr 26, 2024

I'd like to contribute another backend to do authentication based on IPs that I assemble from our cloud setup. Happy to write the code, I am guessing this would need some kind of "pluggable" auth mechanism.

My goal would be to do something like:

# tenant_config
- authentication: openstack
  os_username:
  os_password:
  the_usual_openstack_variables_here:

And then integrate that would some code to e.g. walk through a domain/tenant, assemble IPs based on tags/metadata and populate auth-gateway with the necessary settings. The rules to assign resources from OpenStack to tenants could/should be left for the downstream implementation when people use this. I wouldn't make assumptions about how people organize their setups or what kind of flexibility they need.

We currently have a service in-house which is very similar to auth-gateway. The service acts as an IP-firewall and sits in front of our cortext setup. On the side we walk through different tenants on openstack (on an interval) and assign them to tenants for cortex based on instance metadata or networks resources are attached to.

The data is then used to allow remote write to Cortex.

@friedrichg friedrichg added the enhancement New feature or request label Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants