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
I tried to write a generic secret to an invalid path (it was interpreted as a relative path) was not great. I ran into this with the client go api, but here it is illustrated just the same with the cli (distilled down)
vault write secret/foo..bar "a=b"
Error writing data to secret/foo...bar: Error making API request.
URL: PUT http://127.0.0.1:8200/v1/secret/foo..bar
Code: 400. Errors:
* internal error
The logs contain
2017/08/14 18:24:36.162348 [ERROR] core: failed to run existence check: error=existence check failed: key cannot be relative path
The response is a 400 and yet "internal error" is in the content of the response
One could potentially argue that "foo..bar" is not a relative path because the ".." does not come after a "/" For example the file system behaves differently (perhaps better):
➜ tmp mkdir x
➜ tmp cd x
➜ x mkdir a..b
➜ x ls
a..b
➜ x
The text was updated successfully, but these errors were encountered:
I tried to write a generic secret to an invalid path (it was interpreted as a relative path) was not great. I ran into this with the client go api, but here it is illustrated just the same with the cli (distilled down)
The logs contain
A command like
works just fine immediately following
Some issues:
The text was updated successfully, but these errors were encountered: