I’m working on a Vault Plugin Backend, and that plugin requires software to be installed alongside vault.
The way I see, the plugin would have to make use of
exec.Command APIs in go to shell out to a binary that’s installed on the system. The 2 ways that I see this working out are:
- Installation of the software occurs at plugin backend installation time.
- Using the main, or init Go functionality to ensure that the software is installed appropriately.
I guess what I’m looking for is feedback on my approach, and/or if there are already common patterns here for plugins that require additional software to run.