ssvlabs / ssv

Secret-Shared-Validator(SSV) for ethereum staking
https://ssv.network
GNU General Public License v3.0
183 stars 97 forks source link

Feature Request: Add Bearer Token auth credentials #923

Open CVJoint opened 1 year ago

CVJoint commented 1 year ago

Is your feature request related to a problem? Please describe. Besu supports RPC authentication using a Bearer Token, but there is no way to add this header in the SSV config.

Describe the solution you'd like Adding an optional bearer token header to the eth1 rpc would allow secure authentication to an external besu node.

Describe alternatives you've considered Adding http auth using a reverse proxy. Using the bearer token would be native to besu and seems more secure.

Additional context Reference: https://besu.hyperledger.org/en/stable/public-networks/how-to/use-besu-api/authenticate/#3-generate-an-authentication-token

Project that implements bearer token: https://app.omniatech.io/

y0sher commented 10 months ago

thanks. Since geth doesn't need an authentication for the API's we used, this is not implemented in the SSV node, we will work on adding an optional token for other clients that do support this.