Closed kernle32dll closed 4 years ago
To be rebased when either https://github.com/tarent/loginsrv/pull/145 or https://github.com/tarent/loginsrv/pull/144 is merged.
Please update the README.md accordingly. Please state that the _FILE has precedence over the other option.
@J-Rocke @smancke Is it possible to cut a new release (1.4.0?), after this has been merged? :)
I eagerly await this functionality in conjunction with https://github.com/tarent/loginsrv/pull/146
This PR implements the possibility to provide the JWT secret not only via a flag or environment variable, but also via a file.
This is especially useful for providing private keys for Elliptic Curve signing (e.g. ES512).
Exemplary use-cases are Docker Swarm Secrets (or file mounts in general), or Kubernetes secrets. See e.g. this documentation for the mysql docker image for an idea.