Hi,
So I wanted to try using wsl2 and ubuntu, installed it per documentation and set my VAULT_ADDR and VAULT_TOKEN env variables, but when doing any vault commands it tries to connect to the local host:
vault status
Error checking seal status: Get "https://127.0.0.1:8200/v1/sys/seal-status": dial tcp
127.0.0.1:8200: connect: connection refused
If I echo the above env variable values they come back as the correct values. Same values work in powershell/cmd
If I do a
vault status -address=$VAULT_ADDR
It comes back properly, if I do a:
vault login -address=$VAULT_ADDR
It logs in just fine when I enter the token
Just seems to be ignoring the env variables entirely. Not a huge deal, but it would be nice to work entirely on wsl vs powershell.
Thanks