mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 22:52:58 +03:00
🚀 Feature: edit expire date of API #245
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wrenix on GitHub.
Feature description
It would be nice to have an option to extend the current expire date of an API
Pitch
Otherwise i need to create a complicated rollover to keep track of an valid API token
@kmendell commented on GitHub:
I dont think it makes sense to be able to edit the expiration date, as its a security measure to rotate keys like this.
Could you explain more the use case, and why rotating the api key wont work?
@wrenix commented on GitHub:
i just need to write cronjobs for that (to renew and to restart application which use that keys e.g. the portal) ...
but that is more complicated with new keys, then to extends to current key just a week longer ...
@stonith404 commented on GitHub:
I agree with @kmendell. Why not just create an API key that expires in 100 years, if you don't care about the security risks?