> Interactive supervised services are generally not a good idea. If they > die, they cannot be respawned without user action, which goes against the > principle of supervision. If you need authentication, please consider > something similar to ssh-agent, which asks for interactive input once and > provides noninteractive authentication afterwards.
Just a thought, that is where secret/state storage service can be helpful. Something similar s6-fdholder, but for arbitrary data instead of file descriptors.