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

[idea] Configuration Backend #7

Open
thekoma opened this issue Aug 10, 2018 · 7 comments
Open

[idea] Configuration Backend #7

thekoma opened this issue Aug 10, 2018 · 7 comments

Comments

@thekoma
Copy link

thekoma commented Aug 10, 2018

Hi,
do you think that would be possible to implement a database and/or ldap backend integration?

Having a proxy is useful but restarting the app and editing a configuration file is difficult to implement in automation environments.

@icb-
Copy link

icb- commented Aug 10, 2018

Integrating with PowerDNS-Admin for zone authorization (and authentication?) would be great.

@fincham
Copy link
Contributor

fincham commented Aug 13, 2018

Hi all,

Yes, more flexible authentication would be doable. We'll add it to the backlog of features.

Thanks!

@luto
Copy link
Contributor

luto commented Oct 10, 2018

@fincham we're currently thinking about tackling this one: A generic authentication system, with backends for the current ini-format and PowerDNS-Admin. Plus docs on how to add a new one, of course.

While researching the PowerDNS-Admin one, we kind of hit a snag: where do we store the API key? should the password just act as an API key? Using the tenants/accounts feature, an foobar-api user could be created for each tenant, so the key doesn't pull double duty as password and API key.

What do you think?

@icb-
Copy link

icb- commented Oct 10, 2018

PowerDNS-Admin supports account types that don't have a set password (e.g. SAML).

@luto
Copy link
Contributor

luto commented Oct 10, 2018

That would require API clients to speak SAML to the auth-proxy, which way out of scope for us, sorry. We're only thinking about support for the currently implemented API key schema; all extensions to that would have to be done by someone else.

@thekoma
Copy link
Author

thekoma commented Oct 10, 2018

I would suggest to support a mysql/odbc basic schema (user/password/key/[[permissions]])
and write (like in powerdns) a standard query format which could be overridden.
See the mysql module on powerdns fo reference.
Also the call could be overridden with an external command and variables in append at the call itself (parameters).

@fincham
Copy link
Contributor

fincham commented Oct 12, 2018

Hi folks,

I'm off work due to illness at the moment but I'll get back to this issue next week hopefully.

Thanks,
-Michael

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

No branches or pull requests

4 participants