{% extends 'base.html' %} {% from '_ui.html' import hub, csrf_field, copy_field %} {% block content %} {{ hub('interservice', 'The services linked to azul (the website, bots, tools). Each one has keys of its own that only work from the machine and address it enrolled from.') }} {% if not enabled %}

InterService is turned off on this server (ENABLE_INS).

{% else %} {% if reveal and reveal.kind == 'code' %}

enrollment code for {{ reveal['for'] }}

Put it in the service's settings (the website's is INS_ENROLLMENT_CODE) before {{ reveal.expires }}. It works once, and this is the only time it's shown.

{{ copy_field('enrollCodeValue', reveal.value, 'Enrollment code') }}
{% endif %}

enrolled services

{% if clients %} {% else %}

Nothing has enrolled yet. Make a code below for the website first.

{% endif %}

enroll a service

A one-time code. The service makes its own keys the first time it connects with it, and they never leave that machine.

{{ csrf_field(csrf) }}

codes

{% set shown = codes[:12] %} {% if shown %} {% else %}

None made yet.

{% endif %}

Server host key {{ fingerprint }}

{% endif %} {% endblock %}