-
Notifications
You must be signed in to change notification settings - Fork 187
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
[BUG]: Hashicorp Vault secret mount name can't contain '/' #277
Comments
Thanks for this report! I'd be happy to get an idea for how to change the mount inference logic that can accommodate for that but also be easy and transparent to users, that you think might work |
Meanwhile I can also suggest a format like:
of course, first attempt would be at one agreed structured format, and if not found, fallback to taking the first segment like today. any feedback / ideas? |
Would you be open to roll back to old behaviour where we had to specify the full KV2 path to secret (including |
Im open to ideas |
Hey @jondot! Sorry for the delay. How about your suggestion with |
I have provided an implementation for |
OS: macOS 14.4.1 (23E224) (Intel)
Teller version: 2.0.5
Description:
Given the following sample configuration
where
foo/bar
is a secret mount name (including forward slash), andtest
is a secret path, Teller fails with the following error:Judging from request, Teller treats part of the path up to the first slash as a secret mount name and builds the Vault request accordingly, which is incorrect in our case.
I already tried URLencoding the slash character, escaping, double escaping etc.
With Teller v1, the following configuration was working for us:
The text was updated successfully, but these errors were encountered: