X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8b35e02eb546876558c85adfd3d4d2ac75e5dc7e..913eba54a79075bf7da2283cf36a8d1a0f766b0c:/doc/user/api-tokens.md diff --git a/doc/user/api-tokens.md b/doc/user/api-tokens.md index fe9c6ff524..84f3fdfe87 100644 --- a/doc/user/api-tokens.md +++ b/doc/user/api-tokens.md @@ -1,7 +1,7 @@ --- layout: default navsection: userguide -title: API authentication +title: Getting an API token navorder: 1 --- @@ -10,13 +10,20 @@ navorder: 1 Open a browser and point it to the Workbench URL for your site. It will look something like this: -`https://workbench.a123z.arvados.org/` +`https://workbench.{{ site.arvados_api_host }}/` Log in, if you haven't done that already. Click the "API tokens" link. -Copy an API token and set an environment variable in your terminal +Copy an API token and set environment variables in your terminal session like this. - export ORVOS_API_TOKEN=unvz7ktg5p5k2q4wb9hpfl9fkge96rvv1j1gjpiq + export ARVADOS_API_TOKEN=unvz7ktg5p5k2q4wb9hpfl9fkge96rvv1j1gjpiq + export ARVADOS_API_HOST={{ site.arvados_api_host }} + +If you are using a local development server with a self-signed +certificate, you might need to bypass certificate verification. Don't +do this if you are using a production service. + + export ARVADOS_API_HOST_INSECURE=yes