{% extends "base.html" %} {% block title %}Connection Manager{% endblock %} {% block head_extra %} {% endblock %} {% block content %}
{% if not has_vault %}

Set Up Your Credential Vault

Create a master password to encrypt your saved credentials. This password is required to unlock your vault each session.

{% elif not vault_unlocked %}

Vault Locked

Enter your master password to access saved credentials.

{% else %}

Quick Connect 

{% if connections %}
{% for conn in connections %} {% endfor %}
Name Host Credential Usage Last Used Actions
{{ conn.connection_name }} {% if conn.notes %}
{{ conn.notes[:50] }}{% if conn.notes|length > 50 %}...{% endif %}
{% endif %}
{{ conn.host }}:{{ conn.port }} {% if conn.credential_name %} {{ conn.credential_name }} ({{ conn.username }}) {% else %} {% endif %} {% if conn.use_count > 0 %} {{ conn.use_count }}× {% else %} {% endif %} {% if conn.last_used %} {{ conn.last_used[:10] }} {% else %} Never {% endif %}
{% else %}

No Saved Connections

Save your frequently used connections for quick access.

{% endif %}

Manage your encrypted credentials. These can be linked to saved connections.

{% if credentials %} {% for cred in credentials %} {% endfor %}
Name Username Type Actions
{{ cred.credential_name }} {% if cred.is_default %} Default {% endif %} {{ cred.username }} {% if cred.has_ssh_key %} SSH Key {% else %} Password {% endif %}
{% else %}

No Saved Credentials

Create credentials to quickly connect to your devices.

{% endif %}
Danger Zone
Resetting your vault will delete all saved credentials. Saved connections will be preserved but will need credentials re-assigned.
{% endif %}
{% endblock %}