Merge branch 'master' into 3193-manage-account
[arvados.git] / apps / workbench / app / views / users / _manage_current_token.html.erb
1 ### Pasting the following lines at a shell prompt will allow Arvados SDKs</br>
2 ### to authenticate to your account, <%= current_user.email %></br></br>
3 read ARVADOS_API_TOKEN &lt;&lt;EOF</br>
4 <%= Thread.current[:arvados_api_token] %></br>
5 EOF</br>
6 export ARVADOS_API_TOKEN ARVADOS_API_HOST=<%= current_api_host %></br>
7 <% if Rails.configuration.arvados_insecure_https %>
8 export ARVADOS_API_HOST_INSECURE=true</br>
9 <% else %>
10 unset ARVADOS_API_HOST_INSECURE</br>
11 <% end %>