You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Yes! :)
Our security team has identified a risk where users could unintentionally submit their API keys on GitHub and other platforms. This would exposes the system to serious vulnerabilities, particularly if the user holds high privileges, potentially compromising security for an indefinite period.
Describe the solution you'd like
Introduce functionality within Invenio to enhance API key security by:
Expiration Date: Allow users to set an expiration date when creating API keys. similar to the share link feature introduced in v12.
Revocation Options: Provide both users and administrators the ability to revoke API keys as needed.
These features should be accessible from both user and admin interfaces to assert comprehensive control over API key management.
Describe alternatives you've considered
Manual Monitoring: Relying on manual monitoring of API key usage to detect and revoke compromised keys. However, this approach is reactive and inefficient.
Short-Lived Tokens: Implementing short-lived tokens that require frequent renewal. While this increases security, it may negatively impact user experience due to the need for constant updates.
Additional context
During a recent meeting with the security team, it was highlighted that the accidental exposure of API keys poses a severe risk to our system's integrity. Implementing expiration and revocation features will significantly mitigate this risk by ensuring that compromised keys cannot be used indefinitely. Additionally, providing these options at both user and admin levels will enhance our overall security posture and provide flexibility in managing API access.
Is your feature request related to a problem? Please describe.
Yes! :)
Our security team has identified a risk where users could unintentionally submit their API keys on GitHub and other platforms. This would exposes the system to serious vulnerabilities, particularly if the user holds high privileges, potentially compromising security for an indefinite period.
Describe the solution you'd like
Introduce functionality within Invenio to enhance API key security by:
These features should be accessible from both user and admin interfaces to assert comprehensive control over API key management.
Describe alternatives you've considered
Manual Monitoring: Relying on manual monitoring of API key usage to detect and revoke compromised keys. However, this approach is reactive and inefficient.
Short-Lived Tokens: Implementing short-lived tokens that require frequent renewal. While this increases security, it may negatively impact user experience due to the need for constant updates.
Additional context
During a recent meeting with the security team, it was highlighted that the accidental exposure of API keys poses a severe risk to our system's integrity. Implementing expiration and revocation features will significantly mitigate this risk by ensuring that compromised keys cannot be used indefinitely. Additionally, providing these options at both user and admin levels will enhance our overall security posture and provide flexibility in managing API access.
Related Issues:
inveniosoftware/invenio-oauth2server#53
inveniosoftware/invenio-oauth2server#186
Proposed Features:
Expiration Date Setting:
Allow end users to specify an expiration date when generating a new API key.
Display the expiration date prominently in the API key management interface.
Validity Period Limits:
Implement default validity periods for API keys (e.g., 30 days, 90 days).
Allow administrators to set global policies for API key validity durations.
Revocation Mechanism:
Audit Logging:
User Notifications:
Benefits:
The text was updated successfully, but these errors were encountered: