{% extends "web/_base.html" %} {% load debusine %} {% block title %}List of tokens{% endblock %} {% block content %}

List of tokens

Here you can generate and maintain the API tokens that are needed to set up debusine-client to access this instance of Debusine.

Here is an example ~/.config/debusine/client/config.ini file you can use:

    [General]
    default-server = {{DEBUSINE_FQDN}}

    [server:{{DEBUSINE_FQDN}}]
    api-url = https://{{DEBUSINE_FQDN}}/api
    scope = one-of-the-scopes-listed-below (or pass --scope on the command line)
    token = generated-token-goes-here
    

Scopes

{% if token_list %} {% for token in token_list %} {% endfor %}
Enabled Created at Comment Actions
{% include "web/_check_icon.html" with value=token.enabled only %} {{ token.created_at }} {{ token.comment }} Delete | Edit
Create another token
{% else %}

You do not currently have any tokens: {% if user.is_authenticated %} create a new token to be able to use debusine-client. {% else %} you can authenticate to create one. {% endif %}

{% endif %} {% endblock %}