fixes and docs for testing crunch jobs locally
[arvados.git] / doc / user / api-tokens.md
1 ---
2 layout: default
3 navsection: userguide
4 title: Getting an API token
5 navorder: 1
6 ---
7
8 # API authentication
9
10 Open a browser and point it to the Workbench URL for your site. It
11 will look something like this:
12
13 `https://workbench.a123z.arvados.org/`
14
15 Log in, if you haven't done that already.
16
17 Click the "API tokens" link.
18
19 Copy an API token and set environment variables in your terminal
20 session like this.
21
22     export ARVADOS_API_TOKEN=unvz7ktg5p5k2q4wb9hpfl9fkge96rvv1j1gjpiq
23     export ARVADOS_API_HOST=a123z.arvados.org
24
25 If you are using a local development server with a self-signed
26 certificate, you might need to bypass certificate verification. Don't
27 do this if you are using a production service.
28
29     export ARVADOS_API_HOST_INSECURE=yes