{% extends "web/_base.html" %} {% 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 token = generated-token-goes-here{% if token_list %}
Token | Enabled | Created at | Comment | Actions |
---|---|---|---|---|
{% include "web/_token-collapse.html" with key=token.key only %} | {% 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 %}