{% extends "base.html" %} {% block content %}
New keys expire after {{ api_key_expiry_days }} day{% if api_key_expiry_days != 1 %}s{% endif %}. You can hold {{ api_key_max }}.
{% else %}New keys do not expire. You can hold {{ api_key_max }}.
{% endif %} {% if api_keys is none %}No local account matches this session, so API keys cannot be stored.
{% else %}Copy this key now. It will not be shown again.
| Id | Access | Issued | Expires | |
|---|---|---|---|---|
| {{ key.id | e }} | {% if key.readonly %}Read only{% else %}Read and write{% endif %} | {{ key.time_issued | e }} | {% if key.time_expiry %}{{ key.time_expiry | e }}{% else %}Never{% endif %} | |
| No API keys yet. | ||||
Key limit reached. Revoke one to issue another.
{% endif %} {% endif %}