I am attempting to automate the Vault login using “vault login” command from my local system. However, I have some unknowns such as whether can I take the string of
vault login -method=userpass username=lthornton
and point it to a remote vault server to authenticate and get my token. Is there away to do so at the command line and access a user’s token?