diff --git a/changelog/11997.txt b/changelog/11997.txt new file mode 100644 index 000000000..b782ec84e --- /dev/null +++ b/changelog/11997.txt @@ -0,0 +1,3 @@ +```release-note:feature +secrets/database/snowflake: Add ability to customize dynamic usernames +``` diff --git a/go.mod b/go.mod index bbf50f62b..9af0bb890 100644 --- a/go.mod +++ b/go.mod @@ -93,7 +93,7 @@ require ( github.com/hashicorp/vault-plugin-database-couchbase v0.3.0 github.com/hashicorp/vault-plugin-database-elasticsearch v0.8.0 github.com/hashicorp/vault-plugin-database-mongodbatlas v0.4.0 - github.com/hashicorp/vault-plugin-database-snowflake v0.1.1 + github.com/hashicorp/vault-plugin-database-snowflake v0.2.0 github.com/hashicorp/vault-plugin-mock v0.16.1 github.com/hashicorp/vault-plugin-secrets-ad v0.10.0 github.com/hashicorp/vault-plugin-secrets-alicloud v0.8.0 diff --git a/go.sum b/go.sum index 3c5f19c58..f68f3c2cc 100644 --- a/go.sum +++ b/go.sum @@ -707,8 +707,8 @@ github.com/hashicorp/vault-plugin-database-elasticsearch v0.8.0 h1:c9/fwjJf9XjXS github.com/hashicorp/vault-plugin-database-elasticsearch v0.8.0/go.mod h1:QiQnpM6tI8LqIO+XfI/5AddV7d9cT1DhhOekLV2+AKY= github.com/hashicorp/vault-plugin-database-mongodbatlas v0.4.0 h1:baCsn+MRffmcqkOf3p6Fh0fvw2llXl63Ts4Fl14Vn3A= github.com/hashicorp/vault-plugin-database-mongodbatlas v0.4.0/go.mod h1:ESNBxY0kbC8fZhyfYo0JcIwL4piI5+IZAHvnByceRoY= -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-database-snowflake v0.2.0 h1:qhL7l5NKVwHLl93uCLOpPWBfJMpD+HC6a6Y3mmF0Ki4= +github.com/hashicorp/vault-plugin-database-snowflake v0.2.0/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.10.0 h1:iMS1SfIQtPfvPbw24W8HbNBb6o6wqSRjJwxNcZWEiw0= diff --git a/website/content/api-docs/secret/databases/snowflake.mdx b/website/content/api-docs/secret/databases/snowflake.mdx index 1100eaace..3319116a0 100644 --- a/website/content/api-docs/secret/databases/snowflake.mdx +++ b/website/content/api-docs/secret/databases/snowflake.mdx @@ -44,6 +44,8 @@ has a number of parameters to further configure a connection. - `password` `(string: "")` - The root credential password used in the connection URL. +- `username_template` `(string)` - [Template](/docs/concepts/username-templating) describing how dynamic usernames are generated. + ### Sample Payload ```json