Add 'apps/arv-web/' from commit 'f9732ad8460d013c2f28363655d0d1b91894dca5'
[arvados.git] / apps / workbench / app / views / users / _manage_current_token.html.erb
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>
3
4 <pre>
5 HISTIGNORE=$HISTIGNORE:'export ARVADOS_API_TOKEN=*'
6 export ARVADOS_API_TOKEN=<%= Thread.current[:arvados_api_token] %>
7 export ARVADOS_API_HOST=<%= current_api_host %>
8 <% if Rails.configuration.arvados_insecure_https %>
9 export ARVADOS_API_HOST_INSECURE=true
10 <% else %>
11 unset ARVADOS_API_HOST_INSECURE
12 <% end %>
13 </pre>