简体   繁体   English

gerrit的secure.config中auth.restTokenPrivateKey的用途是什么?

[英]What is the use of auth.restTokenPrivateKey in gerrit's secure.config for?

我遇到了这个变量,该变量已生成并存储在gerrit review_site上的secure.config文件中,是否可以利用restTokenPrivateKey值调用rest api到gerrit实例?

Iff4f6f9a1c302dfd9e2b7fe52f2ddbebe06d9967 removed it. 如果f4f6f9a1c302dfd9e2b7fe52f2ddbebe06d9967删除了它。 According to the other change referenced there, it was never really used for anything. 根据此处引用的其他更改,它从未真正用于任何东西。

The Authentication section of the REST API docs says you can prefix the endpoint URL with /a/ to use HTTP authentication instead. REST API文档的身份验证”部分说,您可以在端点URL前面加/a/来使用HTTP身份验证。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM