Skip to content
Commit 7f33b9ac authored by nimrod's avatar nimrod
Browse files

Improve Vault login in smile-exec.

- Some environments don't have Vault deployed, don't set the VAULT_ADDR
  environment variable.
- Add a check for VPN connectivity (otherwise Vault isn't accessible).
- Login to Vault only if the environment has Vault deployed and I'm
  connected to the VPN.
parent 0c8aca17
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment