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

215 Views Asked by At

I came across this variable which got generated and stored in secure.config file on gerrit review_site, Is it possible for me to make use of this restTokenPrivateKey value to call rest api to gerrit instance?

1

There are 1 best solutions below

1
On

Iff4f6f9a1c302dfd9e2b7fe52f2ddbebe06d9967 removed it. 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.