X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/9ec35ef84a67b920e5a4c406ed0007fe6bca6d2d..8e3fbf743f9a53661872b7dd8a119b875acc3f26:/doc/user/api-tokens.md diff --git a/doc/user/api-tokens.md b/doc/user/api-tokens.md index 84f3fdfe87..7a02d21e15 100644 --- a/doc/user/api-tokens.md +++ b/doc/user/api-tokens.md @@ -5,7 +5,7 @@ title: Getting an API token navorder: 1 --- -# API authentication +# Getting an API token Open a browser and point it to the Workbench URL for your site. It will look something like this: @@ -16,11 +16,27 @@ Log in, if you haven't done that already. Click the "API tokens" link. -Copy an API token and set environment variables in your terminal -session like this. +At the top of the "API tokens" page, you will see a few lines like this. - export ARVADOS_API_TOKEN=unvz7ktg5p5k2q4wb9hpfl9fkge96rvv1j1gjpiq - export ARVADOS_API_HOST={{ site.arvados_api_host }} + ### Pasting the following lines at a shell prompt will allow Arvados SDKs + ### to authenticate to your account, youraddress@example.com + + read ARVADOS_API_TOKEN <