You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We log in with vault login -method=ldap and we use Duo MFA. Recently it seems that logging in like this has stopped writing the token to the ~/.vault-token file, so additional vault operations do not complete. If I log into the Vault web interface, copy my token and use that with vault login, the file is written properly.
To Reproduce
Steps to reproduce the behavior:
Run vault login -method=ldap
Enter password and approve MFA push
Try to use any other vault commands and get 403 error, see that ~/.vault-token is missing.
Expected behavior
The file ~/.vault-token should be written with the token received from the LDAP login
Environment:
Vault Server Version (retrieve with vault status): 1.12.1 (installed with Yum)
Vault CLI Version (retrieve with vault version): Vault v1.12.0 (558abfa75702b5dab4c98e86b802fb9aef43b0eb), built 2022-10-10T18:14:33Z
Server Operating System/Architecture: Redhat 7.9
Vault server configuration file(s):
Service started with /usr/bin/vault server -config=/etc/vault/config.json
Thanks for the report @yakatz! This was a known issue in prior versions of Vault and was supposed to be fixed by #17040. Are you seeing this issue when using the 1.12.1 Vault CLI as well?
I thought I was on the most recent version available for Ubuntu because apt didn't show there was an update on the client machines, but when I cleared the apt cache, it showed up.
Describe the bug
We log in with
vault login -method=ldap
and we use Duo MFA. Recently it seems that logging in like this has stopped writing the token to the~/.vault-token
file, so additional vault operations do not complete. If I log into the Vault web interface, copy my token and use that withvault login
, the file is written properly.To Reproduce
Steps to reproduce the behavior:
vault login -method=ldap
~/.vault-token
is missing.Expected behavior
The file
~/.vault-token
should be written with the token received from the LDAP loginEnvironment:
vault status
): 1.12.1 (installed with Yum)vault version
):Vault v1.12.0 (558abfa75702b5dab4c98e86b802fb9aef43b0eb), built 2022-10-10T18:14:33Z
Vault server configuration file(s):
Service started with
/usr/bin/vault server -config=/etc/vault/config.json
The text was updated successfully, but these errors were encountered: