mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 18:17:55 +00:00
deprecating Legacy MFA (#14869)
* deprecating Legacy MFA * removing legacy MFA doc json entry * CL * changing the link to legacy MFA in CL * removing legacy MFA stuff from credentials' cli
This commit is contained in:
@@ -5,7 +5,6 @@ import (
|
||||
|
||||
"github.com/google/go-github/github"
|
||||
cleanhttp "github.com/hashicorp/go-cleanhttp"
|
||||
"github.com/hashicorp/vault/helper/mfa"
|
||||
"github.com/hashicorp/vault/sdk/framework"
|
||||
"github.com/hashicorp/vault/sdk/logical"
|
||||
"golang.org/x/oauth2"
|
||||
@@ -40,15 +39,12 @@ func Backend() *backend {
|
||||
Help: backendHelp,
|
||||
|
||||
PathsSpecial: &logical.Paths{
|
||||
Root: mfa.MFARootPaths(),
|
||||
Unauthenticated: []string{
|
||||
"login",
|
||||
},
|
||||
},
|
||||
|
||||
Paths: append([]*framework.Path{
|
||||
pathConfig(&b),
|
||||
}, append(allPaths, mfa.MFAPaths(b.Backend, pathLogin(&b))...)...),
|
||||
Paths: append([]*framework.Path{pathConfig(&b), pathLogin(&b)}, allPaths...),
|
||||
AuthRenew: b.pathLoginRenew,
|
||||
BackendType: logical.TypeCredential,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user