We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
path
PATCH
curl http://127.0.0.1:9180/apisix/admin/secrets/vault/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -XPATCH -d '{ "token" : "apisix" }' {"error_msg":"no secret id and/or sub path in uri"}
curl http://127.0.0.1:9180/apisix/admin/secrets/vault/1/token -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -XPATCH -d '"apisix"' {"value":{"prefix":"/apisix/kv","token":"apisix","uri":"https://localhost/vault","id":"vault/1","update_time":1684399820,"create_time":1684395392},"key":"/apisix/secrets/vault/1"}
Update Secret resource using PATCH method, supports no path parameter.
No response
curl -i http://127.0.0.1:9180/apisix/admin/secrets/vault/1 \ -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -XPUT -d ' { "uri": "http://xxx/get", "prefix" : "apisix", "token" : "apisix" }'
curl http://127.0.0.1:9180/apisix/admin/secrets/vault/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -XPATCH -d '{ "token" : "apisix" }'
see the error: {"error_msg":"no secret id and/or sub path in uri"}
{"error_msg":"no secret id and/or sub path in uri"}
apisix version
uname -a
openresty -V
nginx -V
curl http://127.0.0.1:9090/v1/server_info
luarocks --version
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Current Behavior
PATCH
method to update the Secret resource:PATCH
method, with thepath
parameter as normal.Expected Behavior
Update Secret resource using
PATCH
method, supports nopath
parameter.Error Logs
No response
Steps to Reproduce
see the error:
{"error_msg":"no secret id and/or sub path in uri"}
Environment
apisix version
): v3.2.0uname -a
): M1openresty -V
ornginx -V
):curl http://127.0.0.1:9090/v1/server_info
):luarocks --version
):The text was updated successfully, but these errors were encountered: