Accessing Linode S3 storage via openresty

25 views
Skip to first unread message

Nate Wolfsan

unread,
Mar 4, 2025, 9:06:02 AMMar 4
to openresty-en
Hi,

What's the best way to create a signed url via openresty for an object stored in Linode's object storage?

I've tried using resty.shell and the linode-cli which worked via the resty CLI but failed when run via nginx (I believe due to not inheriting the correct env variables).

I also tried using lua-resty-s3 but that didn't let me generate a signed url.

Essentially I want to run the equivalent of this via openresty:
linode-cli obj signurl BucketName llnj05tdowsbguy4dzm8kpyadsf3urh9.png +1200

How can I generate a signed url via openresty?

Thanks,
Nate
Reply all
Reply to author
Forward
Message has been deleted
0 new messages