You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project uses the database plugin interface introduced in Vault version 1.6.0.
7
+
> **Note:** Community fork of [hashicorp/vault-plugin-database-snowflake](https://github.com/hashicorp/vault-plugin-database-snowflake).
8
+
> Requires Vault 1.6+.
9
9
10
-
> **Note:** This is a community-maintained fork of [hashicorp/vault-plugin-database-snowflake](https://github.com/hashicorp/vault-plugin-database-snowflake),
11
-
> actively maintained by the Snowflake community. The plugin is included in Vault version 1.7+.
12
-
13
-
> **Snowflake Password Deprecation:** Snowflake is deprecating single-factor password authentication.
14
-
> Key-pair authentication will be required after November 2025. See [Snowflake's announcement](https://docs.snowflake.com/en/release-notes/2025/other/2025-01-17-password-authentication-deprecated)
15
-
> for details. Both the service account connection and dynamic user credential type should be
16
-
> migrated away from passwords before this date.
10
+
> **⚠️ Snowflake is deprecating password authentication after November 2025.**
11
+
> Migrate service account connections and dynamic roles to key-pair auth before that date.
17
12
18
13
## Bugs and Feature Requests
19
14
20
-
Bugs should be filed under the [Issues](https://github.com/bbhorrigan/vault-plugin-database-snowflake/issues) section of this repo.
21
-
22
-
Feature requests can be submitted in the Issues section as well.
23
-
24
-
## Security
25
-
26
-
If you believe you have found a security issue in this plugin, please open a GitHub issue or contact the maintainer directly.
15
+
File issues at [bbhorrigan/vault-plugin-database-snowflake/issues](https://github.com/bbhorrigan/vault-plugin-database-snowflake/issues).
27
16
28
17
## Quick Links
29
18
30
-
*[Database Secrets Engine for Snowflake - Docs](https://developer.hashicorp.com/vault/docs/secrets/databases/snowflake)
31
-
*[Database Secrets Engine for Snowflake - API Docs](https://developer.hashicorp.com/vault/api-docs/secret/databases/snowflake)
A [scripted configuration](bootstrap/configure.sh) of the plugin is provided in
225
-
this repository. You can use the script or manually configure the secrets engine
226
-
using documentation.
227
-
228
-
To apply the scripted configuration, run the `make configure` target to
229
-
register, enable, and configure the plugin with your local Vault instance. You
230
-
can specify the plugin name, plugin directory, mount path, connection URL and
231
-
private key path. Default values for plugin name and directory from the
232
-
Makefile will be used if arguments aren't provided.
125
+
A [scripted configuration](bootstrap/configure.sh) is available via `make configure`:
233
126
234
127
```sh
235
-
$ PLUGIN_NAME=vault-plugin-database-snowflake \
236
-
PLUGIN_DIR=$GOPATH/vault-plugins \
237
-
CONNECTION_URL=foo.snowflakecomputing.com/BAR \
238
-
PRIVATE_KEY=/path/to/private/key/file \
239
-
SNOWFLAKE_USERNAME=user1 \
240
-
make configure
128
+
PLUGIN_NAME=vault-plugin-database-snowflake \
129
+
PLUGIN_DIR=$GOPATH/vault-plugins \
130
+
CONNECTION_URL=foo.snowflakecomputing.com/BAR \
131
+
PRIVATE_KEY=/path/to/private/key/file \
132
+
SNOWFLAKE_USERNAME=user1 \
133
+
make configure
241
134
```
242
135
243
136
---
244
137
245
138
## Acceptance Testing
246
139
247
-
In order to perform acceptance testing, you need to set the environment variable `VAULT_ACC=1`
248
-
as well as provide all the necessary information to connect to a Snowflake Project. All
249
-
`SNOWFLAKE_*` environment variables must be provided in order for the acceptance tests to
250
-
run properly. A cluster must be available during the test. A [30-day trial account](https://signup.snowflake.com/)
251
-
can be provisioned manually to test.
252
-
253
-
| Environment Variable | Description |
254
-
|----------------------|-------------|
255
-
| SNOWFLAKE_ACCOUNT | The account string for your snowflake instance. If you are using a non-AWS provider, or a region that isn't us-west-1 for AWS, region and provider should be included here. (example: `ec#####.east-us-2.azure`) |
256
-
| SNOWFLAKE_USER | The accountadmin level user that you are using with Vault |
257
-
| SNOWFLAKE_PASSWORD | The password associated with the provided user (optional if using key-pair auth) |
258
-
| SNOWFLAKE_PRIVATE_KEY | Path to the private key file for key-pair authentication |
259
-
| SNOWFLAKE_DB | optional: The DB you are restricting the connection to |
260
-
| SNOWFLAKE_SCHEMA | optional: The schema you are restricting the connection to |
261
-
| SNOWFLAKE_WAREHOUSE | optional: The warehouse you are restricting the connection to |
262
-
263
-
To run the acceptance tests, invoke `make testacc`:
264
-
265
-
```sh
266
-
$ make testacc
267
-
```
140
+
Set `VAULT_ACC=1` and the following environment variables, then run `make testacc`.
0 commit comments