-
-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling generic path type with versioning in Vault #2196
Comments
We have the same issue. It is impossible to change mount type from 'generic (version=2)' to 'kv (version=2)' on vault kv engine (and there is no good tools to export/import large number of kv secrets with versions, even we want to migrate). |
Hi @hairyhenderson, I hope you’re doing well! I wanted to check in on the status of the issue with gomplate v4.1.0 and the handling of the generic secrets engine in Vault. This issue is blocking our ability to update gomplate, and we are looking forward to be able to proceed with the update. If there’s any chance this could be reviewed soon or if there are any updates available, I’d greatly appreciate it. Thank you for your time and for all the hard work you do on this project! |
This issue is stale because it has been open for 60 days with no If it's still relevant, one of the following will remove the stale
|
Not stale |
Looks like this issue fell through the cracks - sorry folks.
As of Vault 0.8.3, So I think if you have a mount of type generic and version 2, that's exactly the same as KV v2. But I could be wrong. It's certainly deprecated. One other thing - the |
We are encountering an issue with gomplate v4.1.0. When trying to render a Vault path with the path type set to
generic
, especially whenoptions map[version:2]
is specified. It seems thatgomplate
does not handle this configuration, leading to rendering failures.Steps to Reproduce:
Configure a Vault secrets engine with the type generic and set options map[version:2].
Attempt to use gomplate to render a secret from this path without including the /data component.
gomplate --datasource vault=vault://vault-server:8200/ -f secret.yaml
Observe that gomplate fails to render the secret, as below error message:
Note that running
vault kv get
against the same path works as expected:It would be great if gomplate can handle such situation where the secret engine type is not specifically set to
kv
. Or is there any way that we can avoid this issue?Environment:
Gomplate version: 4.1.0
Vault version: v1.17.1
The text was updated successfully, but these errors were encountered: