Skip to content

Commit 0983f54

Browse files
authored
backport of commit 1fe69f2
1 parent c45c13a commit 0983f54

File tree

11 files changed

+80
-337
lines changed

11 files changed

+80
-337
lines changed

.changes/0.14.1.md

Lines changed: 0 additions & 92 deletions
This file was deleted.

.changes/unreleased/.gitkeep

Whitespace-only changes.

.changes/unreleased/BUG FIXES-20250911-121401.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changie.yaml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,3 @@ How was this change implemented?
1818
[Example](https://github.com/hashicorp/vault/commit/2715f5cec982aabc7b7a6ae878c547f6f475bba6)
1919
[ ] Add output for any tests not ran in CI to the PR description (eg, acceptance tests)
2020
[ ] Backwards compatible
21-
[ ] Changelog entry added. See [Updating the Changelog](https://github.com/hashicorp/vault-plugin-database-snowflake/blob/main/README.md#updating-the-changelog).
22-
23-
## PCI review checklist
24-
25-
<!-- heimdall_github_prtemplate:grc-pci_dss-2024-01-05 -->
26-
27-
- [ ] I have documented a clear reason for, and description of, the change I am making.
28-
29-
- [ ] If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.
30-
31-
- [ ] If applicable, I've documented the impact of any changes to security controls.
32-
33-
Examples of changes to security controls include using new access control methods, adding or removing logging pipelines, etc.

.github/workflows/backport.yaml

Lines changed: 0 additions & 13 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
## 0.14.1
2-
### June 5, 2025
3-
4-
IMPROVEMENTS:
5-
6-
* Added key-pair auth support for database configuration in Vault 1.20.x (https://github.com/hashicorp/vault-plugin-database-snowflake/pull/116)
1+
## Unreleased
72

83
## 0.14.0
94
### May 23, 2025
@@ -12,40 +7,19 @@ IMPROVEMENTS:
127

138
* Updated dependencies (https://github.com/hashicorp/vault-plugin-database-snowflake/pull/105)
149

15-
## 0.13.2
16-
### June 5, 2025
17-
18-
IMPROVEMENTS:
19-
20-
* Added key-pair auth support for database configuration in Vault 1.19.6 (https://github.com/hashicorp/vault-plugin-database-snowflake/pull/117)
21-
2210
## 0.13.0
2311
### Feb 11, 2025
2412

2513
IMPROVEMENTS:
2614

2715
* Updated dependencies (https://github.com/hashicorp/vault-plugin-database-snowflake/pull/100)
2816

29-
## 0.12.2
30-
### June 5, 2025
31-
32-
IMPROVEMENTS:
33-
34-
* Added key-pair auth support for database configuration in Vault 1.18.11 Enterprise (https://github.com/hashicorp/vault-plugin-database-snowflake/pull/118)
35-
3617
## 0.12.0
3718
### Sept 4, 2024
3819

3920
IMPROVEMENTS:
4021
* Updated dependencies (https://github.com/hashicorp/vault-plugin-database-snowflake/pull/92)
4122

42-
## 0.11.2
43-
### June 5, 2025
44-
45-
IMPROVEMENTS:
46-
47-
* Added key-pair auth support for database configuration in Vault 1.17.18 Enterprise (https://github.com/hashicorp/vault-plugin-database-snowflake/pull/119)
48-
4923
## 0.11.0
5024
### May 20, 2024
5125

@@ -56,13 +30,6 @@ IMPROVEMENTS:
5630
* `github.com/jackc/pgx/v4` v4.18.1 -> v4.18.2
5731
* `github.com/snowflakedb/gosnowflake` v1.7.2 -> v1.8.0
5832

59-
## 0.10.3
60-
### June 5, 2025
61-
62-
IMPROVEMENTS:
63-
64-
* Added key-pair auth support for database configuration in Vault 1.16.22 Enterprise (https://github.com/hashicorp/vault-plugin-database-snowflake/pull/120)
65-
6633
## 0.10.0
6734
### Jan 31, 2024
6835
CHANGES:

README.md

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -71,42 +71,3 @@ To run the acceptance tests, invoke `make testacc`:
7171
```sh
7272
$ make testacc
7373
```
74-
75-
## Updating the Changelog
76-
77-
All pull requests that introduce a user-facing change must include a changelog
78-
entry. We use the [changie](https://changie.dev/) tool to manage these entries
79-
and automate the release process.
80-
81-
---
82-
### 1. Installing Changie
83-
84-
You only need to do this once. If you don't have `changie` installed, choose one of the options below.
85-
86-
* **Homebrew** (macOS):
87-
```shell
88-
brew install changie
89-
```
90-
* **Go Install**:
91-
```shell
92-
go install github.com/miniscruff/changie@latest
93-
```
94-
* **Other Methods**:
95-
See the [official changie installation guide](https://changie.dev/guide/installation/) for other options, including pre-compiled binaries.
96-
97-
---
98-
### 2. Creating an Entry
99-
100-
Once your code changes are complete, create the changelog entry:
101-
102-
1. **Run the command** in your terminal:
103-
```shell
104-
changie new
105-
```
106-
2. **Follow the prompts.** An interactive prompt will ask you to select the
107-
kind of change (e.g., `BREAKING CHANGES`, `NOTES`, `FEATURES`) and write a concise description of
108-
what you changed.
109-
110-
3. **Commit the new file.** After you're done, `changie` will create a new
111-
YAML file in the `.changie/unreleased` directory. Commit this file along with your other
112-
code changes before submitting your pull request.

connection_producer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
var (
2828
ErrInvalidSnowflakeURL = fmt.Errorf("invalid connection URL format, expect <account_name>.snowflakecomputing.com/<db_name>")
2929
ErrInvalidPrivateKey = fmt.Errorf("failed to read provided private_key")
30-
accountAndDBNameFromConnURLRegex = regexp.MustCompile(`^(.+)\.snowflakecomputing\.com/(.+)$`) // Expected format: <account_name>.snowflakecomputing.com/<db_name>
30+
accountAndDBNameFromConnURLRegex = regexp.MustCompile(`^(.+)\.snowflakecomputing.com/(.+)$`) // Expected format: <account_name>.snowflakecomputing.com/<db_name>
3131
)
3232

3333
type snowflakeConnectionProducer struct {

0 commit comments

Comments
 (0)