Merge branch 'master' into 3036-collection-uuids
[arvados.git] / apps / workbench / app / views / users / _manage_current_token.html.erb
index 246141040f06a6a402d6d81c290ec39a74013e47..71c6bd246ba7a416b789ca9c12e9e62341f0dc55 100644 (file)
@@ -1,9 +1,13 @@
+<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>
 <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>
 
-<pre>export ARVADOS_API_TOKEN=<%= Thread.current[:arvados_api_token] %>
+<pre>
+HISTIGNORE=$HISTIGNORE:'export ARVADOS_API_TOKEN=*'
+export ARVADOS_API_TOKEN=<%= Thread.current[:arvados_api_token] %>
 export ARVADOS_API_HOST=<%= current_api_host %>
 <% if Rails.configuration.arvados_insecure_https %>
 export ARVADOS_API_HOST_INSECURE=true
 <% else %>
 unset ARVADOS_API_HOST_INSECURE
-<% end %></pre>
+<% end %>
+</pre>