I am trying to stand up Vault on a Windows Server 2019 system. The documentation makes it clear that the Vault Agent can be run as a Windows Service, but after numerous searches I haven’t been able to find a satisfactory way to run the Vault Server as a Windows Service. The options I’ve found include using a wrapper like NSSM (https://nssm.cc/), WinSW (https://github.com/winsw/winsw), or AlwaysUp (https://www.coretechnologies.com/products/AlwaysUp/). The documentation indicates that Vault can be run as a service under Linux. Are there plans to enhance Vault so that it can be run as a Windows Service? If so, what is the estimated timeline for release?
I understand the need to unseal the vault. I am OK with having to connect to my server upon restart to unseal the vault. My problem is with having to run the Vault Server in a command window and leaving the user that launches the process logged in so that the Vault Server doesn’t shut down. I have reviewed the possibility of using a BAT or PowerShell script with a Task Scheduler task executed at start up, but this seems like an awkward solution that leaves me working around logging issues.
Any information on the plans to allow Vault Server to run as a Windows Service is appreciated. Thank you.