1 <p>The Arvados API token is a secret key that enables the Arvados SDKs to access Arvados with the proper permissions. For more information see <%= link_to raw('Getting an API token'), "#{Rails.configuration.arvados_docsite}/user/reference/api-tokens.html", target: "_blank"%>.</p>
2 <p>Paste the following lines at a shell prompt to set up the necessary environment for Arvados SDKs to authenticate to your account, <b><%= current_user.email %></b></p>
5 read ARVADOS_API_TOKEN <<EOF
6 <%= Thread.current[:arvados_api_token] %>
8 export ARVADOS_API_TOKEN ARVADOS_API_HOST=<%= current_api_host %>
9 <% if Rails.configuration.arvados_insecure_https %>
10 export ARVADOS_API_HOST_INSECURE=true
12 unset ARVADOS_API_HOST_INSECURE