Delete a Signed URL manually with PHP (Google Cloud)
I was wonder if there is a way to manually destroy a signed URL from the PHP library of Google Cloud or some parameter to specify inside the generation to say "when link is open the first time, destroy it".
At this moment I've found only a "time" to set from the generation of Signed URL, nothing else.
Thank you
Is there is a way to manually destroy a signed URL?
You would need to delete the service account key which could have a several minute delay and would also invalidate other signed URLs.
Validation of signed URLs is via the public key and timestamp. If the timestamp has not expired, all that is left is to delete the public key which requires deleting the service account's private key.
In the event that the Signed URL was generated by the Google Managed service account key, then you must delete the service account.