Deferred functions run on the agent. The Vault connection will be made from the
agent. Therefor, if you configure Vault using environment variables, you'll
want to do so from the agent. If you're using systemd, you should be able to
configure those in the .service file as you suggest.
On May
Hello,
I have vault set up using role and secret id
I downloaded puppetlabs-vault module and saw the code snippet with that
module https://www.puppet.com/integrations/vault-by-hashicorp
*With vault_lookup::lookup deferred method, i don't want to pass my role
and secret, so other option is set a