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
{{ message }}
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.
The functionality is already there. Superblast loads the google classes and thats all you need. At least, this works if you are on GCE. I haven't tried on anything else.
$storageClient = new StorageClient([
'projectId' => 'yourID',
'keyFilePath' => '../config/keyfile.json', //I put my keyfile in the config folder
]);
$bucket = $storageClient->bucket('yourbucketname');
$object = $bucket->object(YOURFILEINTHEBUCKET);
$url = $object->signedUrl(new \DateTime('tomorrow'));
Hi, Is there a way of generating a signed url?
Cheers
The text was updated successfully, but these errors were encountered: