pschiffe / docker-pdns

Docker images for PowerDNS
MIT License
274 stars 81 forks source link

SALT is missing from the configuration file #67

Closed psavva closed 2 years ago

psavva commented 2 years ago

Dear @pschiffe

Please see the issue here: https://github.com/PowerDNS-Admin/PowerDNS-Admin/issues/1126#issuecomment-1057843304

The SALT is required as part of the configuration, otherwise, it's not possible to create an API Key.

pschiffe commented 2 years ago

Hey @psavva,

I think SALT should be set by you, since it has to be a secret string. You can do so by setting a new env var PDNS_ADMIN_SALT=randomlygeneratedsecretstring to pdns-admin-uwsgi container.

peter

psavva commented 2 years ago

Shall we add this to the Readme :)

pschiffe commented 2 years ago

This is now documented since commit https://github.com/pschiffe/docker-pdns/commit/6654f934ded5c8df72b1fdeeb9cc34fb1885fa79 Thank you for bringing this up!