{% extends "admin/base_site.html" %}
{% load i18n tz %}
{% block extrastyle %}{{ block.super }}
{% include "admin/encryption_suite/_admin_styles.html" %}
{% endblock %}
{% block breadcrumbs %}
{% get_current_timezone as current_timezone %}
{{ inventory.generated_at|date:"DATETIME_FORMAT" }} ({{ current_timezone }})
{% trans "Key management system (KMS)" %}
| {% trans "Key store" %} |
{% trans "KMS Adapter" %} |
{% trans "KEK strategy" %} |
{% trans "Key encryption keys" %} |
{% trans "Data encryption keys" %} |
{% trans "Oldest active KEK" %} |
{% for row in kms_rows %}
{{ row.entry.key_store }} |
{% if row.entry.configured %}
{{ row.adapter_parts.0 }}{{ row.adapter_parts.1 }} |
{% if row.entry.kek_strategy %}{{ row.kek_strategy_parts.0 }}{{ row.kek_strategy_parts.1 }}{% else %}—{% endif %} |
{% else %}
{% trans "Not configured" %} |
{% endif %}
{% if row.kek_url %}{{ row.entry.key_encryption_key_count }}{% else %}{{ row.entry.key_encryption_key_count }}{% endif %} |
{% if row.dek_url %}{{ row.entry.data_encryption_key_count }}{% else %}{{ row.entry.data_encryption_key_count }}{% endif %} |
{{ row.entry.oldest_active_kek_at|date:"DATETIME_FORMAT"|default:"—" }} |
{% endfor %}
{% trans "Key encryption keys" %}
| {% trans "Key store" %} |
{% trans "Status" %} |
{% trans "Count" %} |
{% for row in kek_rows %}
{{ row.group.key_store }} |
{{ row.group.status }} |
{% if row.url %}{{ row.group.count }}{% else %}{{ row.group.count }}{% endif %} |
{% empty %}
| — |
{% endfor %}
{% trans "Configured for new key encryption keys" %}
| {% trans "Key set" %} |
{% trans "Key store" %} |
{% trans "Silo adapter" %} |
{% for row in key_store_rows %}
{{ row.choice.key_set }} |
{% if row.choice.key_store %}{{ row.choice.key_store }}{% else %}—{% endif %} |
{% if row.choice.silo_adapter %}{{ row.adapter_parts.0 }}{{ row.adapter_parts.1 }}{% else %}—{% endif %} |
{% empty %}
| — |
{% endfor %}
{% trans "Data encryption keys" %}
| {% trans "Key set" %} |
{% trans "Purpose" %} |
{% trans "Cryptographic engine" %} |
{% trans "Algorithm" %} |
{% trans "Key store" %} |
{% trans "Count" %} |
{% trans "Oldest key material" %} |
{% if inventory.rotation_period_days is not None %}
{% blocktrans trimmed with days=inventory.rotation_period_days %}Older than {{ days }} days{% endblocktrans %} |
{% endif %}
{% for row in data_key_rows %}
{{ row.group.key_set }}{% if not row.group.in_settings %} {% trans "(no settings entry)" %}{% endif %} |
{{ row.group.purpose }} |
{{ row.group.cryptographic_engine|default:"—" }} |
{{ row.group.algorithm|default:"—" }} |
{{ row.group.key_store }} |
{% if row.url %}{{ row.group.count }}{% else %}{{ row.group.count }}{% endif %} |
{{ row.group.oldest_key_material_at|date:"DATETIME_FORMAT"|default:"—" }} |
{% if inventory.rotation_period_days is not None %}
{{ row.group.older_than_rotation_period }} |
{% endif %}
{% empty %}
| — |
{% endfor %}
{% trans "Configured for new data encryption keys" %}
| {% trans "Purpose" %} |
{% trans "Cryptographic engine" %} |
{% trans "Algorithm" %} |
{% for label in engine_headers %}{{ label }} | {% endfor %}
{% for row in engine_rows %}
{% if row.purpose %}{{ row.purpose }}{% else %}—{% endif %} |
{% if row.engine %}{{ row.engine }}{% else %}—{% endif %} |
{% if row.algorithm %}{{ row.algorithm }}{% else %}—{% endif %} |
{% for value in row.extras %}{% if value %}{{ value }}{% else %}—{% endif %} | {% endfor %}
{% endfor %}
{% endblock %}