This is an automated email from the ASF dual-hosted git repository.

jshao pushed a commit to branch branch-1.1
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/branch-1.1 by this push:
     new 8378cf0a33 [MINOR] improvement(authn): Add the  command example for 
simple mode (#9608)
8378cf0a33 is described below

commit 8378cf0a33f7eac7b6a0683c3f16f6f9a83ae40c
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sun Jan 4 16:53:41 2026 +0800

    [MINOR] improvement(authn): Add the  command example for simple mode (#9608)
    
    ### What changes were proposed in this pull request?
    
    Add the  command example for simple mode
    
    ### Why are the changes needed?
    
    Just a minor.
    
    ### Does this PR introduce _any_ user-facing change?
    
    Just documents.
    
    ### How was this patch tested?
    
    No need.
    
    Co-authored-by: roryqi <[email protected]>
---
 docs/security/how-to-authenticate.md | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/docs/security/how-to-authenticate.md 
b/docs/security/how-to-authenticate.md
index fdbee267a0..8834c330f7 100644
--- a/docs/security/how-to-authenticate.md
+++ b/docs/security/how-to-authenticate.md
@@ -33,6 +33,16 @@ GravitinoClient client = GravitinoClient.builder(uri)
     .build();
 ```
 
+When using curl or other HTTP clients, authenticate with the `Authorization` 
header:
+
+```shell
+curl -v -X GET \
+  -H "Accept: application/vnd.gravitino.v1+json" \
+  -H "Content-Type: application/json" \
+  -H "Authorization: Basic $(echo -n 'admin:' | base64)" \
+  http://localhost:8090/api/version
+```
+
 ### OAuth mode
 
 Gravitino supports external OAuth 2.0 servers with two token validation 
methods:

Reply via email to