-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI should support rpc providers which require an API key #1583
CLI should support rpc providers which require an API key #1583
Comments
+1. Can we do some research on each provider and post back here with the format of their header to make sure there's some uniformity? If there's not uniformity then we might need to rethink this to be a more generic param such as If there is uniformity, we can add it with param And add an env var to accompany the param such as |
API Key format for Obsrvr "Authorization: Api-Key 4rRrRTzZ.QDzg6MlgbNd2GUAIQoseyRRRRR0459yy" |
Here's a spreadsheet with the research on what each RPC provider is expecting regarding API keys: https://docs.google.com/spreadsheets/d/125K7a0sb2qm6uq-2qo8JhtNT5WXOTDRyylsL7UaLyv0/. To summarize, it seems like we have three different scenarios we need to account for to make sure all of the providers on this page](https://developers.stellar.org/docs/data/rpc/rpc-providers) are supported:
I think that we can handle those three scenarios with the suggestion that Leigh made above about adding an optional
|
Thank you @elizabethengelman 🙏 cc @quietbits |
I encountered this issue while using the Blockdaemon API. If the related work hasn't started yet, I would be happy to submit a PR. |
@overcat Thanks for offering! We have a PR that's already in the works by @elizabethengelman |
What problem does your feature solve?
Close to 50% of RPC providers require developers to pass the API key in the authorization header. The CLI only enables passing a
--rpc-url
, not an API keyWhat would you like to see?
Be able to optional pass the RPC API Key when the RPC provider requires such
The ecosystem RPC providers list is here: https://developers.stellar.org/docs/data/rpc/rpc-providers. We cannot use blockdaemon for example.
The text was updated successfully, but these errors were encountered: