{% extends 'uhepp_vault/base.html' %} {% block content %}

API access tokens

API tokens let you access uhepp hub from Python or the command-line. The token is used to authenticate you. This way, you don't need to expose your CERN password in environment variables.

{% if token_list %} {% for token in token_list %} {% endfor %}
Comment Created Expires
{{ token.description }} {{ token.created|date:"Y-m-d H:i" }} {% if token.expires %} {{ token.expires|date:"Y-m-d H:i" }} {% if token.expired %} (Expired) {% endif %} {% endif %}
{% else %}

You don't have any tokens.

{% endif %} {% endblock %}