3193: use sshkey gem to validate the ssh key passed in.
[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 read ARVADOS_API_TOKEN &lt;&lt;EOF
6 <%= Thread.current[:arvados_api_token] %>
7 EOF
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
11 <% else %>
12 unset ARVADOS_API_HOST_INSECURE
13 <% end %>
14 </pre>