{% from "components.html" import pill %}

NAMED BY · {{ secret.named | length }}

delete is refused while anything here names it
{% for item in secret.named %} {% else %} {% endfor %}
WHAT KIND AS SCOPE
{{ item.name or item.short_id }}
{{ item.role }}
{{ item.kind }} {{ pill('CREDENTIAL', 'blue') }}
{{ item.scope }}
{{ item.scope_note }}
{% if item.href %} {{ "Open server" if item.tag == "reg" else "Open policy" }} {% endif %}
no server or policy names this secret

RUNS · {{ secret.runs | length }}

{{ secret.held | length }} hold it now · a row opens the run
{% for run in secret.runs %} {% else %} {% endfor %}
RUN STATUS PROFILE ACCESS LAST
#{{ run.seq }}
{{ run.id }}
{{ pill(run.status, run.tone) }} {{ run.profile }} {{ run.access }} {% if run.note %}{{ run.note }}{% endif %} {{ run.last }}
the secret was never issued to a run

{{ issued_note }}