{% extends "admin/layout.html" %} {% block admin %}

Add a repository

All repositories
{% if producer_configured %}

Registration rides the producer's admin API and is idempotent: registering an already-registered repository reports its existing row, not an error. This form is the primary path; the producer's register CLI remains the scripted alternative. Give a private repository's credential here and its first reconcile is already authenticated - or set one later from the repository's page. The secret crosses once, to the producer; it is never stored here or shown.

{% else %}

Registration needs the producer admin API (OKF_PRODUCER_ADMIN_URL and OKF_PRODUCER_ADMIN_TOKEN together).

{% endif %}
{% endblock %}