[MDEV-28277] Hashicorp: Document the mandatory presence of /v1/ in URL, detect error if possible Created: 2022-04-10 Updated: 2023-11-27 Resolved: 2022-05-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Configuration, Documentation, Encryption, Plugins |
| Affects Version/s: | N/A |
| Fix Version/s: | 10.9.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Julius Goryavsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Cloned | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Description |
|
According to comments in the cnf file hashicorp_key_management.cnf, hashicorp-key-management-vault-url must always contain /v1/:
It is good that the cnf template mentions it, but it should also be mentioned in the documentation. Moreover, if it's cut in stone, maybe the plugin could include it into the parameter verification and throw an error if the URL doesn't contain it. |
| Comments |
| Comment by Elena Stepanova [ 2022-05-06 ] | ||||||||||||||
|
The error is now detected and a [somewhat] meaningful error message is returned.
At runtime it's
I'm keeping this JIRA entry open for documentation purposes. | ||||||||||||||
| Comment by Julius Goryavsky [ 2022-05-10 ] | ||||||||||||||
|
Fixed, https://github.com/MariaDB/server/commit/1c22a9d8aebc91c37b90730fc737df44f780e90e |