Store hashed password directly in configuration of nginx

services.nginx.virtualHosts.<name>.basicAuth allows specifying the password in clear and the analog basicAuthFile allows the specification of a file. Do I have to create the file manually?

I would like to store a hashed password declaratively or create the Authfile automatically. Is there a way?

https://github.com/ryantm/agenix from the always awesome @ryantm