-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MFA TOTP is deleted after vault restart #15108
Comments
The same problem with version 1.10.1 |
and still a problem with version 1.10.2. Corresponding |
Hi @hennadii2012, Thanks for reporting this issue, sorry it took us a while to respond. We're working on a fix and should have a new release out soon. Note that the methods/enforcements aren't actually deleted, they're just not being loaded at startup, so after upgrading to a release with a fix, you may find you have duplicate methods/enforcements. |
Hi @ncabatoff, |
The problem is fixed in version 10.0.3 |
Describe the bug
For vault SSO 1.10.0 in docker mfa totp method is deleted after restart all nodes in raft cluster
To Reproduce
Steps to reproduce the behavior:
Run
curl --header "X-Vault-Token: $VAULT_TOKEN" --request POST --data @issuer.json ${VAULT_ADDR}/v1/identity/mfa/method/totp
content of issuer.json:
{
"issuer": "vault",
"algorithm": "SHA512"
}
RUN docker stop vault-container-name on all three nodes of raft cluster
RUN docker start vault-container-name on all three nodes of raft cluster
RUN curl --header "X-Vault-Token:$VAULT_TOKEN" --request LIST $ {VAULT_ADDR}/v1/identity/mfa/method/totp. It return nothing, but must return methoid from first step
Expected behavior
Return methoid from first step after restarts
Environment:
Vault server configuration file(s):
The text was updated successfully, but these errors were encountered: