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

Merged
merged 1 commit into from Mar 4, 2016

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.

@rgacogne rgacogne 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.
87893e0
@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