{% extends "base.html" %} {% import "_macros.html" as ui %} {% block title %}API keys · sagittarius{% endblock %} {% block content %}

{% call ui::icon("apikeys") %}{% endcall %}API keys

Bearer keys that let a secondary/fallback instance mirror this instance's configuration.

{% if let Some(notice) = notice %}

{{ notice }}

{% endif %} {% if let Some(error) = error %} {% endif %} {% if let Some(key) = new_key %}

Copy this key now — it will not be shown again.

Set it on the secondary as SAGITTARIUS_PRIMARY_API_KEY:

{{ key }}
{% endif %} {% if !chrome.read_only %}
{% endif %} {% if keys.is_empty() %}

No API keys yet.

{% else %}
{% for k in keys %} {% endfor %}
Label Key id Created Last used Status
{{ k.label }} {{ k.id }} {{ k.created }} {{ k.last_used }} {% if k.revoked %}revoked {% else %}active{% endif %} {% if !k.revoked && !chrome.read_only %}
{% endif %}
{% endif %} {% endblock %}