{% extends "base.html" %}{% from "_icons.html" import icon %}{% block title %}{{ 'Edit' if res else 'Add' }} {{ preset.title if preset else kind }}{% endblock %}{% block body %} {% include "_integration_style.html" %} {% from "_integration_mark.html" import integration_mark %}
Inventory: {% if inventory_asset %}{{ inventory_asset.name }}{% else %}Add this resource to inventory · or link it from an existing inventory record{% endif %}
{% endif %} {% if preset %}{{ preset.instructions if not res else preset.description }}
{{ preset.title }} setup guide
{% endif %} {% if preset.icon in ('pihole', 'jellyfin') %}{% endif %} {% if preset.auth_type == 'oauth' %}Choose a host, then let Keywright install the CLI and guide you through sign-in.
{% if ssh_hosts %} {% else %}No enrolled SSH hosts are available. Add an SSH host, or configure a connection manually below.
{% endif %}Status: {{ {'connected': 'Connected', 'connecting': 'Sign-in pending', 'needs_reconnect': 'Reconnect required', 'disconnected': 'Disconnected'}.get(oauth_status, 'Disconnected') }}
Budgets enforced LiteLLM {{ leases.health.version }} · database connected · checked {{ leases.health.checked_at[:16] | replace('T', ' ') }}
{% elif leases.health %}Budget enforcement unavailable LiteLLM reports its database {{ leases.health.db }}. Budgets are read from that database; without it the proxy serves past every limit, so no key is minted until it is connected.
Not probed yet. Test connection checks the database and refreshes the model list.
{% endif %}| Agent | Models | Spent / ceiling | Time left |
|---|---|---|---|
| {{ k.agent }} | {{ k.row.models | join(', ') }} | {% if k.spend %}${{ '%.2f' | format(k.spend.spend) }}{% else %}?{% endif %} / ${{ '%.2f' | format(k.row.limits.max_budget or 0) }} | {{ k.remaining }}{% if k.row.request_id %} · Approval{% endif %} |
Exposure remaining: ${{ '%.2f' | format(leases.exposure) }} · what every active lease on this gateway could still spend if it all went wrong right now
{% else %}No active leases. Nothing can be spent through this gateway until you approve a request.
{% endif %} {% endif %} {% if res and kind == 'mcp' %} {% endif %} {% if res and kind == 'ssh' and not res.config.get('cli_setup') %}~/.ssh/authorized_keys, pins the host key, then re-connects with the key to prove it works.As the login user; link valid 30 min.
{{ key.enroll_cmd }}
from= restriction.