lighthouse-pulse/lighthouse/tests
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
..
account_manager.rs Builder Specs v0.2.0 (#3134) 2022-07-30 00:22:37 +00:00
beacon_node.rs Pass EL JWT secret key via cli flag (#3568) 2022-10-04 12:41:03 +00:00
boot_node.rs Engine API v1.0.0.alpha.6 + interop tests (#3024) 2022-02-17 21:47:06 +00:00
exec.rs Enforce Optimistic Sync Conditions & CLI Tests (v2) (#3050) 2022-03-01 22:56:47 +00:00
main.rs Add regression tests for boot_node (#2749) 2021-11-08 01:37:58 +00:00
validator_client.rs Publish subscriptions to all beacon nodes (#3529) 2022-09-28 19:53:35 +00:00