Updating snowflake plugin to 0.1.1 (#10709)
This commit is contained in:
parent
e67964e870
commit
5794c4e91e
2
go.mod
2
go.mod
|
@ -86,7 +86,7 @@ require (
|
|||
github.com/hashicorp/vault-plugin-database-couchbase v0.2.1
|
||||
github.com/hashicorp/vault-plugin-database-elasticsearch v0.6.1
|
||||
github.com/hashicorp/vault-plugin-database-mongodbatlas v0.2.1
|
||||
github.com/hashicorp/vault-plugin-database-snowflake v0.1.0
|
||||
github.com/hashicorp/vault-plugin-database-snowflake v0.1.1
|
||||
github.com/hashicorp/vault-plugin-mock v0.16.1
|
||||
github.com/hashicorp/vault-plugin-secrets-ad v0.8.0
|
||||
github.com/hashicorp/vault-plugin-secrets-alicloud v0.7.0
|
||||
|
|
2
go.sum
2
go.sum
|
@ -629,6 +629,8 @@ github.com/hashicorp/vault-plugin-database-mongodbatlas v0.2.1 h1:Yc8ZJJINvCH6Jc
|
|||
github.com/hashicorp/vault-plugin-database-mongodbatlas v0.2.1/go.mod h1:2So20ndRRsDAMDyG52az6nd7NwFOZTQER9EsrgPCgVg=
|
||||
github.com/hashicorp/vault-plugin-database-snowflake v0.1.0 h1:SfzEIHgPqaoDfSN8Key2yLXZfUI3AhI45OEn5jXN8Eo=
|
||||
github.com/hashicorp/vault-plugin-database-snowflake v0.1.0/go.mod h1:EUOuoWLg+RwiIjxydK+hH7Eeb4x66cESYNmTHLqqbuM=
|
||||
github.com/hashicorp/vault-plugin-database-snowflake v0.1.1 h1:QKNjvd1GuI69u7ZLNTnvZ2LoBg9ENX7C/U+sgH40QBU=
|
||||
github.com/hashicorp/vault-plugin-database-snowflake v0.1.1/go.mod h1:gUfFbYrFFxITKxeLJe2IHPnNkmSG5ldVF1OOxp1WW3c=
|
||||
github.com/hashicorp/vault-plugin-mock v0.16.1 h1:5QQvSUHxDjEEbrd2REOeacqyJnCLPD51IQzy71hx8P0=
|
||||
github.com/hashicorp/vault-plugin-mock v0.16.1/go.mod h1:83G4JKlOwUtxVourn5euQfze3ZWyXcUiLj2wqrKSDIM=
|
||||
github.com/hashicorp/vault-plugin-secrets-ad v0.8.0 h1:SBOxEjYtxkipmp8AC7Yy3vjBVM5H24YM48WKCSCV+zA=
|
||||
|
|
|
@ -45,8 +45,7 @@ Temporary Items
|
|||
|
||||
vault-plugin-secrets-snowflake
|
||||
vault-plugin-database-snowflake
|
||||
vault*
|
||||
|
||||
.idea/
|
||||
# End of https://www.gitignore.io/api/go,macos
|
||||
#
|
||||
#
|
||||
|
|
|
@ -7,6 +7,6 @@ require (
|
|||
github.com/hashicorp/go-multierror v1.1.0
|
||||
github.com/hashicorp/vault/sdk v0.1.14-0.20201022214319-d87657199d4b
|
||||
github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect
|
||||
github.com/mitchellh/mapstructure v1.3.2
|
||||
github.com/mitchellh/mapstructure v1.3.2 // indirect
|
||||
github.com/snowflakedb/gosnowflake v1.3.11
|
||||
)
|
||||
|
|
|
@ -160,6 +160,7 @@ func (s *SnowflakeSQL) generateUsername(req dbplugin.NewUserRequest) (string, er
|
|||
credsutil.RoleName(req.UsernameConfig.RoleName, maxRolenameChunkLen),
|
||||
credsutil.MaxLength(maxIdentifierLength),
|
||||
)
|
||||
username = strings.ReplaceAll(username, "-", "_")
|
||||
if err != nil {
|
||||
return "", errwrap.Wrapf("error generating username: {{err}}", err)
|
||||
}
|
||||
|
|
|
@ -557,7 +557,7 @@ github.com/hashicorp/vault-plugin-database-couchbase
|
|||
github.com/hashicorp/vault-plugin-database-elasticsearch
|
||||
# github.com/hashicorp/vault-plugin-database-mongodbatlas v0.2.1
|
||||
github.com/hashicorp/vault-plugin-database-mongodbatlas
|
||||
# github.com/hashicorp/vault-plugin-database-snowflake v0.1.0
|
||||
# github.com/hashicorp/vault-plugin-database-snowflake v0.1.1
|
||||
github.com/hashicorp/vault-plugin-database-snowflake
|
||||
# github.com/hashicorp/vault-plugin-mock v0.16.1
|
||||
github.com/hashicorp/vault-plugin-mock
|
||||
|
|
Loading…
Reference in New Issue