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

dnsdist: Allow accessing the API with an optional API key #3504

Merged
merged 1 commit into from Mar 4, 2016

Conversation

Projects
None yet
2 participants
@rgacogne
Member

rgacogne commented Mar 3, 2016

The API key can be specified as an additional, optional parameter
to webserver(). If present in a X-API-Key header, it allows
access to the API URLs:

  • /api/v1/servers/localhost
  • /jsonstat

Others URLs are still only allowed through basic authentication.

dnsdist: Allow accessing the API with an optional API key
The API key can be specified as an additional, optional parameter
to `webserver()`. If present in a X-API-Key header, it allows
access to the API URLs:
- /api/v1/servers/localhost
- /jsonstat

Others URLs are still only allowed through basic authentication.

ahupowerdns added a commit that referenced this pull request Mar 4, 2016

Merge pull request #3504 from rgacogne/dnsdist-api-key
dnsdist: Allow accessing the API with an optional API key

@ahupowerdns ahupowerdns merged commit 9c0e95e into PowerDNS:master Mar 4, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@rgacogne rgacogne deleted the rgacogne:dnsdist-api-key branch Mar 4, 2016

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