{% set total_plaintext = encryption.plaintext + provider_encryption.plaintext %}

Encryption at Rest

{% if encryption_enabled %} INVENTORY_ENCRYPTION_KEY is set. New upstream keys and provider credentials are encrypted automatically. {% else %} INVENTORY_ENCRYPTION_KEY is not set. Credentials are stored in plaintext until encryption is enabled. {% endif %}

Upstream keys: {{ encryption.encrypted }} encrypted · {{ encryption.plaintext }} plaintext ({{ encryption.total }} total)

Provider credentials: {{ provider_encryption.encrypted }} encrypted · {{ provider_encryption.plaintext }} plaintext ({{ provider_encryption.total }} total)

{% if upstream_converted or provider_converted %}

Encrypted {{ upstream_converted }} upstream key(s) and {{ provider_converted }} provider credential(s) just now.

{% endif %} {% if error %}

{{ error }}

{% endif %}
{% if encryption_enabled and total_plaintext > 0 %} {% elif not encryption_enabled %}

janus inventory generate-encryption-key

{% endif %}