foundry icon indicating copy to clipboard operation
foundry copied to clipboard

Include authentication in rpcendpointconfig

Open mattsse opened this issue 7 months ago • 0 comments

Component

Forge

Describe the feature you would like

https://github.com/foundry-rs/foundry/blob/f9674c3ea80ec9cd92e5f96a75542b3a26fa4752/crates/config/src/endpoints.rs#L215-L215

we already support settings like cups and retries:

https://github.com/foundry-rs/foundry/blob/f9674c3ea80ec9cd92e5f96a75542b3a26fa4752/crates/config/src/endpoints.rs#L219-L228

we can easily integrate authentication as well,

this should probably be something like

auth = "bearer|basic:${BEARER}"

TODO

  • support parsing auth field
  • integrate in provider setup

Additional context

No response

mattsse avatar Jun 27 '24 16:06 mattsse