{% extends "layouts/content_with_sidebar.html" %} {% load i18n %} {% block extrahead %} {% endblock %} {% block title %}{{ block.super }} | {% trans "API" %} | {% trans "Authentication Tokens" %}{% endblock %} {% block breadcrumbs %} {{ block.super }}
  • {% trans "LAVA" %}
  • {% trans "API" %}
  • {% trans "Authentication Tokens" %}
  • {% endblock %} {% block sidebar %}

    Actions

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

    Your tokens

    {% for token in token_list %}

    Token {{ token.pk }}

    Description:
    {{token.description|default:"empty"}}
    Created on:
    {{token.created_on|date}}
    Last used:
    {% if token.last_used_on %} {{token.last_used_on|timesince }} ago {% else %} It was not used yet {% endif %}
    Secret:
    The secret is currently hidden.
    {% empty %}

    You don't have any tokens yet.

    {% endfor %} {% endblock %}