modified: app.py modified: templates/display_agent_jwt.html.j2 modified: templates/manage_namespace.html.j2 modified: test_agent.sh
16 lines
542 B
Django/Jinja
16 lines
542 B
Django/Jinja
{% extends 'base.html.j2' %}
|
|
|
|
{% block title %}Agent JWT{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>JWT for Agent '{{ agent_name }}'</h1>
|
|
{% if message %}
|
|
<p>{{ message }}</p>
|
|
{% endif %}
|
|
<p>Please store this JWT securely. It will not be shown again.</p>
|
|
<pre>{{ jwt_token }}</pre>
|
|
<p>You can use this JWT to authenticate your agent when sending logs to the namespace '{{ namespace.name }}'.</p>
|
|
|
|
<p><a href="{{ request.route_url('manage_namespace', namespace_short_id=namespace.short_id) }}">Back to Manage Namespace</a></p>
|
|
{% endblock %}
|
|
|