Record T01 package (in-repo k8s/railiance, combined /ui + API app, dedicated CNPG). Add Dockerfile, healthz, migration/bootstrap scripts, kustomize manifests, ArgoCD Application (in railiance-platform), and docs/deployment.md. T05 left open for operator DNS/OpenBao/image push.
38 lines
1.2 KiB
HTML
38 lines
1.2 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}Credentials — Target Revenue Control Plane{% endblock %}
|
|
{% block content %}
|
|
<wn-page-header>
|
|
<span slot="title">Manage credentials (Admin)</span>
|
|
</wn-page-header>
|
|
|
|
{% if new_token %}
|
|
<wn-banner variant="warning">
|
|
New credential issued for <strong>{{ new_token_label }}</strong>. Copy it now —
|
|
it will not be shown again: <code>{{ new_token }}</code>
|
|
</wn-banner>
|
|
{% endif %}
|
|
|
|
<h3>Issue a new credential</h3>
|
|
<form class="wn-form" method="post" >
|
|
<wn-field-row label="Credential label (human name)">
|
|
<wn-input name="credential_label" required></wn-input>
|
|
</wn-field-row>
|
|
<wn-field-row label="Rights">
|
|
<wn-select name="rights">
|
|
<option value="viewer">viewer</option>
|
|
<option value="contributor">contributor</option>
|
|
<option value="operator">operator</option>
|
|
<option value="admin">admin</option>
|
|
</wn-select>
|
|
</wn-field-row>
|
|
<wn-button type="submit" variant="primary">Issue credential</wn-button>
|
|
</form>
|
|
|
|
<h3>Revoke a credential</h3>
|
|
<form class="wn-form" method="post" >
|
|
<wn-field-row label="Token to revoke">
|
|
<wn-input name="token" required></wn-input>
|
|
</wn-field-row>
|
|
<wn-button type="submit" variant="secondary">Revoke</wn-button>
|
|
</form>
|
|
{% endblock %}
|