Merge branch '3193-manage-account' of git.curoverse.com:arvados into 3193-manage...
[arvados.git] / apps / workbench / app / views / users / _manage_current_token.html.erb
1 <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>
2
3 <pre>export ARVADOS_API_TOKEN=<%= Thread.current[:arvados_api_token] %>
4 export ARVADOS_API_HOST=<%= current_api_host %>
5 <% if Rails.configuration.arvados_insecure_https %>
6 export ARVADOS_API_HOST_INSECURE=true
7 <% else %>
8 unset ARVADOS_API_HOST_INSECURE
9 <% end %></pre>