{% extends "layouts/content.html" %} {% load i18n %} {% load utils %} {% block styles %} {% endblock %} {% block content %}

Authentication Tokens

Authentication tokens allow scripts using lava-tool to securely access LAVA resources. You can create and use any number of tokens simultaneously. If you believe a token is compromised you can quickly remove it. Anyone using that token will no longer be able to authenticate as You in the system.

{% if token_list %} {% if token_list|length > 1 %}

You have {{ token_list|length }} tokens.

{% else %}

You have {{ token_list|length }} token.

{% endif %}

Most recently created tokens shown first

{% if unused %} {% endif %}
{% for token in token_list|dictsortreversed:"created_on" %} {% if token.last_used_on %} {% else %} {% endif %} {% endfor %}
No. Description Created on Last used Actions
{{ token.pk }} {{ token.description|default:"empty" }} {{ token.created_on|date }}{{ token.last_used_on|timesince }}It was not used yet
{% else %}

You don't have any tokens yet.

{% endif %} {% endblock %}