{% extends "cacsremoteservice/views/layouts/master.html" %} {% block site-nav %} {% include "cacsremoteservice/views/partials/site-nav.html" with active="configuration" %} {% endblock %} {% block main %}

Personal Access Tokens

Administer {% if is-admin %}all users'{% else %}your{% endif %} Personal tokens

{% if validation-errors|not-empty %}

Error

    {% for error in validation-errors %}
  • {{error}}
  • {% endfor %}
{% endif %} {% if user-tokens %} {% if created-token %}

Token Created

Label: {{created-token.label}}

Expiration Date: {{created-token.expires-at|date:"yyyy-MM-dd HH:mm:ss zzz"|default:"never"}}

Make sure to copy your token now. You will not see it again!

{{created-token.secret}}

If using for CLI tool copy the token and set it in your CS_ACCESS_TOKEN environment variable.

{% endif %} {% if tokens|empty? %}

There are no tokens yet.

{% else %}

To create a token for yourself, click the Generate token button below.

These tokens can be used to access REST API and other programmatic endpoints.

{% if is-admin %}{% endif %} {% if is-admin %}{% endif %} {% for token in tokens %} {% if is-admin %}{% endif %} {% endfor %}
UserLabel Expiration Last Used Date
{{token.name}} ({{ token.provider}}){{token.label}} {{token.expires-at|date:"yyyy-MM-dd HH:mm:ss zzz"}} {{token.used-at|date:"yyyy-MM-dd"|default:"never"}}
{% if vscode %}{% endif %}
{% endif %}
{% if vscode %}{% endif %}
{% endif %}
{% endblock %}