pglombardo / PasswordPusher

🔐 Securely share sensitive information with automatic expiration & deletion after a set number of views or duration. Track who, what and when with full audit logs.
https://docs.pwpush.com
Apache License 2.0
1.92k stars 337 forks source link

API Bulk operations #1662

Open liquid-metal opened 8 months ago

liquid-metal commented 8 months ago

🚀 Feature Request

It should be possible to create and expire secrets (passwords, files, URLs) in bulk operation.

🔈 Motivation

Currently, a client in need of many operations at a time has to make sure to deal with rate limits appropriately. This effectively means intentional delays on the client side in order not to hit the rate limiter.

🛰 Alternatives

The current workaround is either

Following the last bullet point, it might be an option as well to be able to exclude single IP addresses (i.e. the one that the API client is running on).

📎 Additional context

In my option, this should be accompanied by some safety mechanisms for public instances, in order to not allow anonymous users to flood the system with millions of useless passwords or even abuse the system for some kind of other data transfer. But for self hosted instances, admins should have the ability to lower these guards to a level appropriate for the application, even when scaling to a larger setup.

pglombardo commented 8 months ago

Hi @liquid-metal - this would be a great addition. Thanks for pointing it out.