{% extends 'base.html' %} {% block title %}API Keys — Settings{% endblock %} {% block content %}
API keys allow programmatic access to sub-applications.
Pass the key as an X-Api-Key header in your requests.
| User | Application | Key | Description | Status | Created | Last Used | Actions |
|---|---|---|---|---|---|---|---|
| {{ k.user.username }} | {{ k.app_name }} | {{ k.key[:16] }}… |
{{ k.description or '—' }} | {% if k.is_active %} active {% else %} revoked {% endif %} | {{ k.created_at.strftime('%Y-%m-%d') }} | {{ k.last_used_at.strftime('%Y-%m-%d') if k.last_used_at else '—' }} | {% if k.is_active %} {% endif %} |
| No API keys yet. | |||||||