canonical / snap-vault

Vault is a tool for securely accessing secrets
https://snapcraft.io/vault
Other
16 stars 10 forks source link

Add service for vault #48

Closed arif-ali closed 6 months ago

arif-ali commented 11 months ago

As a standalone snap, there is not easy way to determine the starting, reloading and stopping of the vault service.

So, I am suggesting to add daemon feature, so that we are able to do the following

Assuming that the configuration file for vault is in /var/snap/vault/common/vault.hcl, and hence the corresponding start command command in a script may look like

/snap/bin/vault server -config /var/snap/vault/common/vault.hcl