how do I sanity check my own S3 bucket configuration
I need to check my very own S3 bucket configuration While uploading images using Cloudinary API. Just a simple check for my S3 configuration without adding a bucket policy, Kindly help me.
-
Hi,
I am a bit unsure of your request. Do you wish to check if your bucket is public or private? If public, no bucket policy is needed, but if it's private you'll need to add a bucket policy.
I am looking forward to your update.
Daniel
1 -
Hi Daniel,
I want to sanity check Cloudinary upload image into my S3 bucket. I used the following method to upload my image into the S3 bucket and I'm getting the following exception. How do I resolve this?
Sample Code:
Map uploadResult = cloudinary.uploader().upload("s3://my-bucket/my-path/my-file.jpg", ObjectUtils.emptyMap());
Exception:
java.lang.RuntimeException: You can't directly access the requested s3 bucket, please contact support to whitelist at com.cloudinary.strategies.AbstractUploaderStrategy.processResponse(AbstractUploaderStrategy.java:85) ~[cloudinary-core-1.22.1.jar:na]
0 -
Hi,
In order to upload assets from your S3 bucket into your Cloudinary cloud, you need to whitelist the S3 bucket.
You can whitelist the bucket by following the instruction listed here.
Please let me know if have further questions.
Eyal0 -
Thanks, Eyal.
0
Post is closed for comments.
Comments
4 comments