X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4ec57503920f7cd47a48cb0d0cf089517b8d2dd3..a5186eeef2d320d34d70d9f55c70a1e6679c29cf:/apps/workbench/app/views/users/_manage_current_token.html.erb diff --git a/apps/workbench/app/views/users/_manage_current_token.html.erb b/apps/workbench/app/views/users/_manage_current_token.html.erb index 246141040f..71c6bd246b 100644 --- a/apps/workbench/app/views/users/_manage_current_token.html.erb +++ b/apps/workbench/app/views/users/_manage_current_token.html.erb @@ -1,9 +1,13 @@ +

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"%>.

Paste the following lines at a shell prompt to set up the necessary environment for Arvados SDKs to authenticate to your account, <%= current_user.email %>

-
export ARVADOS_API_TOKEN=<%= Thread.current[:arvados_api_token] %>
+
+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 %>
+<% end %> +