2011-02-11 23:58:45 +01:00
|
|
|
@title Installing Arcanist Certificates
|
2011-02-06 08:56:06 +01: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.
|
|
|
|
- Go to Settings > Arcanist Certificate.
|
|
|
|
|
2011-03-12 00:34:55 +01:00
|
|
|
Copy the host info including the certificate into the "hosts" section.
|