mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 02:57:59 +00:00
Add alicloud auth (#5123)
* add alicloud auth commands * add dependencies
This commit is contained in:
committed by
Brian Kassouf
parent
bc2f70e19b
commit
d3f8eabb9b
@@ -35,6 +35,7 @@ import (
|
||||
auditSocket "github.com/hashicorp/vault/builtin/audit/socket"
|
||||
auditSyslog "github.com/hashicorp/vault/builtin/audit/syslog"
|
||||
|
||||
credAliCloud "github.com/hashicorp/vault-plugin-auth-alicloud"
|
||||
credAzure "github.com/hashicorp/vault-plugin-auth-azure"
|
||||
credCentrify "github.com/hashicorp/vault-plugin-auth-centrify"
|
||||
credGcp "github.com/hashicorp/vault-plugin-auth-gcp/plugin"
|
||||
@@ -99,6 +100,7 @@ var (
|
||||
}
|
||||
|
||||
credentialBackends = map[string]logical.Factory{
|
||||
"alicloud": credAliCloud.Factory,
|
||||
"app-id": credAppId.Factory,
|
||||
"approle": credAppRole.Factory,
|
||||
"aws": credAws.Factory,
|
||||
@@ -206,6 +208,7 @@ var DeprecatedCommands map[string]cli.CommandFactory
|
||||
|
||||
func initCommands(ui, serverCmdUi cli.Ui, runOpts *RunOptions) {
|
||||
loginHandlers := map[string]LoginHandler{
|
||||
"alicloud": &credAliCloud.CLIHandler{},
|
||||
"aws": &credAws.CLIHandler{},
|
||||
"centrify": &credCentrify.CLIHandler{},
|
||||
"cert": &credCert.CLIHandler{},
|
||||
|
||||
Reference in New Issue
Block a user