{% extends "web/_base.html" %} {% load debusine %} {% block title %}List of tokens{% endblock %} {% block content %}
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 = {% if only_one_scope %}{{scopes.0}}{% else %}one-of-the-scopes-listed-below{% endif %} token = generated-token-goes-here{% if not only_one_scope %}
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 |
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 %}