lighthouse/beacon_node
mariuspod 242ae21e5d Pass EL JWT secret key via cli flag (#3568)
## Proposed Changes

In this change I've added a new beacon_node cli flag `--execution-jwt-secret-key` for passing the JWT secret directly as string.

Without this flag, it was non-trivial to pass a secrets file containing a JWT secret key without compromising its contents into some management repo or fiddling around with manual file mounts for cloud-based deployments.

When used in combination with environment variables, the secret can be injected into container-based systems like docker & friends quite easily.

It's both possible to either specify the file_path to the JWT secret or pass the JWT secret directly.

I've modified the docs and attached a test as well.

## Additional Info

The logic has been adapted a bit so that either one of `--execution-jwt` or `--execution-jwt-secret-key` must be set when specifying `--execution-endpoint` so that it's still compatible with the semantics before this change and there's at least one secret provided.
2022-10-04 12:41:03 +00:00
..
beacon_chain Remove fallback support from eth1 service (#3594) 2022-10-04 08:33:39 +00:00
builder_client Builder Specs v0.2.0 (#3134) 2022-07-30 00:22:37 +00:00
client CLI tests for logging flags (#3609) 2022-10-04 08:33:40 +00:00
eth1 Remove fallback support from eth1 service (#3594) 2022-10-04 08:33:39 +00:00
execution_layer Deduplicate block root computation (#3590) 2022-09-23 03:52:42 +00:00
genesis Remove fallback support from eth1 service (#3594) 2022-10-04 08:33:39 +00:00
http_api Remove fallback support from eth1 service (#3594) 2022-10-04 08:33:39 +00:00
http_metrics Support IPv6 in BN and VC HTTP APIs (#3104) 2022-03-24 00:04:49 +00:00
lighthouse_network Handle Lodestar's new agent string (#3620) 2022-09-29 01:50:13 +00:00
network [DEV FEATURE] Deterministic long lived subnets (#3453) 2022-10-04 10:37:48 +00:00
operation_pool Refactor op pool for speed and correctness (#3312) 2022-08-29 09:10:26 +00:00
src Pass EL JWT secret key via cli flag (#3568) 2022-10-04 12:41:03 +00:00
store Refined payload pruning (#3587) 2022-09-19 07:58:49 +00:00
tests Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
timer Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
Cargo.toml v3.1.2 (#3603) 2022-09-26 01:17:36 +00:00