Files
greptimedb/docs
LFCanddennis zhuang fe0484bbc6 fix(servers): require authentication for debug endpoints [Backport release/v1.3] (#10603)
fix(servers): require authentication for debug endpoints (#10592)

* fix(servers): require authentication for debug endpoints

The /debug routes are added after the HTTP middleware stack, so they did
not go through the auth layer, and need_auth() only covered /v1/.

Apply the auth middleware to the /debug routes and treat the /debug
namespace as requiring authentication when a user provider is
configured.



* docs: pass credentials to debug endpoints in profiling guides

Let dump.sh read curl credentials from the config file in
GREPTIME_CURL_CONFIG, and document authentication for the /debug
endpoints in the profiling and log level guides.



---------


(cherry picked from commit a7693d52b6)

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>
Co-authored-by: dennis zhuang <killme2008@gmail.com>
2026-11-25 14:32:44 +08:00
..
2023-09-28 08:08:43 +00:00
2025-07-04 09:52:47 +00:00