yuqi1129 commented on code in PR #9587:
URL: https://github.com/apache/gravitino/pull/9587#discussion_r2656005487


##########
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)" \

Review Comment:
   Shouldn't we also add password in the example?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to