Currently, the system utilizes a single pair of API/Secret keys per user. This creates a significant security risk and operational bottleneck: if a key is compromised or needs to be rotated, all integrated services must be updated simultaneously to avoid downtime.
To improve security posture and system flexibility, I propose transitioning to a Granular API Key Management system with the following components:
Multiple Key Pairs per User: Users should be able to generate multiple sets of API/Secret keys for different integrations or partners.
Scoped Permissions (RBAC for APIs): The ability to restrict specific keys to certain endpoints. For example, a "Data Feed" key should only have access to GET requests for inventory, while being restricted from POST actions like submitting offers.
Individual Revocation: A management interface to revoke or rotate a specific key without affecting other active keys belonging to the same user.
API Request Logging: A dedicated endpoint or dashboard log that tracks:
Timestamp of the request.
The specific API Key/Partner used.
The endpoint accessed and the response status.
Operational Resilience: Eliminates "all-or-nothing" downtime. If one partner's key is compromised, it can be revoked and replaced independently without forcing a global reset across all other integrations.
Enhanced Security (Principle of Least Privilege): By restricting keys to specific endpoints, we limit the "blast radius" of a potential leak. A read-only key leak cannot be used to execute malicious transactions.
Improved Auditability & Debugging: The request logs allow the team to identify exactly which partner or service is responsible for specific traffic patterns or errors, making troubleshooting much faster for the Reusely team.
Scalability: As the business grows, this allows for professional partner onboarding where specific access levels can be granted and monitored with precision.
Please authenticate to join the conversation.
Under Review
Suggest a Feature
About 1 month ago
Get notified by email when there are changes.
Under Review
Suggest a Feature
About 1 month ago
Get notified by email when there are changes.