Merge pull request #39 from ConsenSys/jwt-patch

adding in jwt params
pull/40/head
Joshua Fernandes 2 years ago committed by GitHub
commit 00e92c36ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      templates/config.toml.j2

@ -5,16 +5,24 @@ logging="{{besu_log_level}}"
data-storage-format="{{besu_data_storage_format}}" data-storage-format="{{besu_data_storage_format}}"
{% endif %} {% endif %}
# JWT
{% if besu_engine_jwt_disabled is defined and besu_engine_jwt_disabled|bool == True %} {% if besu_engine_jwt_disabled is defined and besu_engine_jwt_disabled|bool == True %}
engine-jwt-disabled=true engine-jwt-disabled=true
{% else %} {% else %}
# authentication is enabled by default when engine-jwt-disabled=false
engine-jwt-disabled=false
{% if besu_engine_jwt_secret is defined and besu_engine_jwt_secret != "" %} {% if besu_engine_jwt_secret is defined and besu_engine_jwt_secret != "" %}
engine-jwt-secret="{{besu_engine_jwt_secret}}" engine-jwt-secret="{{besu_engine_jwt_secret}}"
{% endif %} {% endif %}
{% if besu_engine_rpc_port is defined and besu_engine_rpc_port != "" %} {% if besu_engine_rpc_port is defined and besu_engine_rpc_port != "" %}
engine-rpc-enabled=true
engine-rpc-port={{besu_engine_rpc_port}} engine-rpc-port={{besu_engine_rpc_port}}
{% endif %} {% endif %}
{% if besu_engine_host_allowlist is defined %}
engine-host-allowlist={{besu_engine_host_allowlist|map('to_json')|join(',')}}
{% endif %} {% endif %}
{% endif %}
{% if besu_node_private_key_file != "" %} {% if besu_node_private_key_file != "" %}
# private_key # private_key

Loading…
Cancel
Save