5 ms·
Very interesting. Like the idea of using http, redis, or even PostgreSQL clients. Is there a way to provide the auth password via an envar instead of a command
by nodesocket 1y ago
Very interesting. Like the idea of using http, redis, or even PostgreSQL clients.
Is there a way to provide the auth password via an envar instead of a command line arg?
pogocache --auth mypass
- tidwall 1y agoThat's the only way right now. The other ways I'm considering is with an environment variable and/or acl.
- sureglymop 1y agoMay I suggest the ability to specific a path to a file that it is then read from.
- tidwall 1y agoLike an ACL file?
- sureglymop 1y agoNo, like a path to a file containing the secret/passphrase that the program can then read it from. I am not a fan of putting secrets directly into environment variables. Environment variables are prone to leak or be passed to child processes when it is not desired. But if they are just a file path/pointer to where the secret is, that is mitigated somewhat as one then would still need access to that file.