observablehq / feedback

Customer submitted bugs and feature requests
42 stars 3 forks source link

api key support for /embed/... #299

Closed tomlarkworthy closed 2 years ago

tomlarkworthy commented 2 years ago

Is your feature request related to a problem? Please describe. I want to expose some team notebooks via the embed feature.

Describe the solution you'd like I would expect to be able to supply an api_key in a query param or header to the embed URL and it would work with a private notebook.

Describe alternatives you've considered I tried making my own version but I could not figure a way of calculating the worker hash ID.

Additional context I will use the to make webcode.run work with private notebooks, then teams can create APIs in private notebooks and mediate access to secrets or databases. The API key will be shared with webcode.run, but not end users, so it's a great solution for leveraging the database clients (and would encourage people to upgrade to teams :p ).

tomlarkworthy commented 2 years ago

I am closing this because I was hoping an api_key would give me access to team database clients, but I think I am mistaken