+
+ {% if secret.expired %}
+ {% if let Some(expires) = secret.expires_at %}Истёк: {{ expires }}{% endif %}
+ {% endif %}
+ {{ secret.name }}
+ {% match secret.source %} + {% when SecretSource::Kubernetes %}☸ Kubernetes + {% when SecretSource::Webhook %}↗ Webhook + {% endmatch %} +
+ {% for (key, value) in secret.data %}
+
+
+ {% if let Some(received) = secret.received_at %}
+
+ {% endif %}
+
+ {{ key }}
+
+ {% endfor %}
+
+ {% if value.starts_with("otpauth://totp/") %}
+ ••• •••
+
+ {% else %}
+
+ {{ value }}
+ {% endif %}
+
+