-
Notifications
You must be signed in to change notification settings - Fork 226
Closed
Description
Hello!
Maybe I am totally off but it seems that the API is incompatible to the new KV secrets engine?
The new KV v2 write API is nesting secret key/values under the data field such as:
{
"data": {
"foo": "bar",
"zip": "zap"
}
}
Given the fact that write does not support nested structures and just calls toString() on any unknown type it seems that one can not use the API to write to the new KV engine?
Using a JSON string is not working since the string will be escaped which will lead to the following error:
{
"errors": [
"error converting input {\"foo\":\"bar\",\"zip\":\"zap\"} for field \"data\": '' expected a map, got 'string'"
]
}
Thanks
martenlindblad, joco9308, utobi, obiwen, dguenms and 8 more
Metadata
Metadata
Assignees
Labels
No labels