How to Generate a Public URL to Access an Object
To access the URL of the object, follow these steps.
Navigate to the Zata.ai dashboard, go to the Bucket section, select your bucket, and click on the Settings.

Click on the Permissions tab and enable public access to the bucket.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::<Bucketname>/*"
}
]
}
"Effect": "Allow" – Grants the specified permission to the defined users or services.
"Principal":*– Allows access to everyone, meaning the objects in the bucket will be publicly accessible.
"Action": "s3:GetObject" – Permits the action to read or download objects from the bucket. It does not allow uploads, deletions, or modifications.
"Resource": "arn:aws:s3:::<Bucketname>/*" – Applies the permission to all objects (files) within the specified bucket.
Replace
<Bucketname>
With your actual bucket name, for example: arn:aws:s3:::panktest/*
Click on the Save Bucket Policy

Now, open your S3 Browser and access your To access the bucket using the S3 browser, follow this link.
Now the bucket has been accessed successfully
Now, select the object, right-click on it, and choose 'Generate Web URL

Now, click 'Copy to Clipboard' and open your browser.

Now, using the public URL, the image can be accessed through a web browser.

Last updated