Use your own bucket
Write the document directly into your bucket by using the storage option.
What is a signed URL?
A signed URL is a URL that provides limited permission and time to make a request. Signed URLs contain authentication information in their query string, allowing users without credentials to perform specific actions on a resource. After you generate a signed URL, anyone who possesses it can use the signed URL to perform specified actions, such as writing an object, within a specified period of time.
How to use your bucket with Doczilla
See also Google Cloud Signed URLs documentation and their samples on how to create signed URLs.
Create client
First we need to create the Google Cloud Storage client, for this example we use their Node.js SDK (see Google's samples for examples on how to do this in other languages).
Create signed URL
Add signed URL to your request
Now that you have an signed URL add it to the request.
Doczilla will handle the rest
When the document is created Doczilla will do a PUT request to the provided storage.preSignedUrl
. If successful, the document
will be put directly into your own GCP Storage.
Signed URL upload failed
If the render was successful but the upload to the signed URL failed, signedUrlStatus
will be FAILED
and the
URL field will contain the temporary URL of Doczilla.
Was this page helpful?