dub icon indicating copy to clipboard operation
dub copied to clipboard

Support for Project-Level API Keys

Open TommasoTate opened this issue 6 months ago • 1 comments

Hello,

I've recently started integrating Dub's APIs into our application and encountered a situation with the API key generation process. Currently, API keys are associated with individual user profiles rather than the projects themselves. This setup prompted us to question the underlying reasons for such a design choice.

The main concern revolves around the potential complications arising from having API keys tied to specific individuals. This approach could lead to challenges, especially in scenarios involving turnover or changes in project ownership, posing risks to continuity, access management, and overall project security.

Given that paid plans are associated with projects, aligning API keys with projects instead of individual users appears to be a more intuitive and streamlined model.

Would it be possible to allow API keys to be linked with projects instead of individual user accounts?

TommasoTate avatar Feb 12 '24 08:02 TommasoTate