I am scripting an interaction with vault using the CLI, and the login secrets are bleeding into the log.
I tried vault login .... -no-print=true
but it still prints out the token:
$ vault login -method=github token=*** -no-print=true
Success! You are now authenticated. The token information displayed below
is already stored in the token helper. You do NOT need to run "vault login"
again. Future Vault requests will automatically use this token.
Key Value
--- -----
token *****
token_accessor *****
token_duration 12h
token_renewable true
token_policies [***]
identity_policies []
policies [***]
token_meta_org vault-auth
token_meta_username ****