Skip to content

Commit

Permalink
fix(pkcs11): jinja whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
in0rdr authored and bbaassssiiee committed Jun 14, 2022
1 parent dc17193 commit b872b09
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions templates/vault_seal_pkcs11.j2
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
seal "pkcs11" {
lib = "{{ vault_seal_lib }}"
{%- if vault_softcard_enable %}
token_label = "{{ vault_seal_token_label }}"
{%- else %}
{% if vault_softcard_enable %}
token_label = "{{ vault_seal_token_label }}"
{% else %}
slot = "{{ vault_seal_slot }}"
{%- endif %}
{% endif %}
pin = "{{ vault_seal_pin }}"
key_label = "{{ vault_seal_key_label }}"
{%- if vault_seal_hmac_key_label != '' %}
{% if vault_seal_hmac_key_label != '' %}
hmac_key_label = "{{ vault_seal_hmac_key_label }}"
{%- endif %}
{% endif %}
generate_key = "{{ vault_seal_generate_key }}"
{%- if vault_seal_key_mechanism != '' %}
{% if vault_seal_key_mechanism != '' %}
mechanism = "{{ vault_seal_key_mechanism }}"
{%- endif %}
{% endif %}
}

0 comments on commit b872b09

Please sign in to comment.