2011-02-11 14:58:45 -08:00
|
|
|
@title Installing Arcanist Certificates
|
2011-02-05 23:56:06 -08:00
|
|
|
@group config
|
|
|
|
|
|
|
|
Arcanist uses certificates to authenticate to Phabricator. Usernames and
|
|
|
|
certificates for each host you have credentials on are stored in your
|
|
|
|
##~/.arcrc## file under the "hosts" key. The configuration should look something
|
|
|
|
like this:
|
|
|
|
|
|
|
|
{
|
|
|
|
# ...
|
|
|
|
"hosts" : {
|
|
|
|
"http://phabricator.example.com/api/" : {
|
|
|
|
"user" : "alincoln",
|
|
|
|
"cert" : "Y2FTilanoONuPzAtXayoctmX6FmIt7QjxXhWVAv2EoWpeik1Deecl3jRo"
|
|
|
|
}
|
|
|
|
# If you have accounts on more than one host, add them here.
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
To retrieve the certificate for a Phabricator host:
|
|
|
|
|
|
|
|
- Login to Phabricator.
|
2011-04-10 07:30:50 -07:00
|
|
|
- Go to Settings (upper right, near Search) > Arcanist Certificate.
|
2011-02-05 23:56:06 -08:00
|
|
|
|
2011-03-11 15:34:55 -08:00
|
|
|
Copy the host info including the certificate into the "hosts" section.
|