R
RunPod4mo ago
Harry

Serverless can't connect to s3

Hey guys! I'm currently trying to get my serverless workers to retrieve a video from an Amazon s3 bucket, however, I am unable to gain access despite providing the aws key and secret code as mentioned in the documentation. If I make my s3 bucket public, it works, so I believe it's an issue with the authentication. I'm using the Faster-Whisper template. I've just thrown this into my code and I think it doesn't actually do anything. "s3Config": { "accessId": f"{aws_key}", "accessSecret": f"{aws_secret_key}", "bucketName": f"{bucket_name}", "endpointUrl": "f"{endpoint_name}" I'd love some help with this, thanks so much!
Solution:
cant you just generate presigned URL from your S3 bucket?
Jump to solution
4 Replies
Madiator2011
Madiator20114mo ago
S3 config is only used for uploading finished job not downloading files
Harry
Harry4mo ago
Ah I see, is there a way I can get around this and authenticate using your faster-whisper bots?
Solution
Madiator2011
Madiator20114mo ago
cant you just generate presigned URL from your S3 bucket?
Harry
Harry4mo ago
yep, you're right, thanks so much