amazon-s3ipxeradosgw

Is it possible to generate an S3 download URL without query parameters?


I am using an S3 instance provided by the Ceph Rados Gateway, not Amazon S3.

I can generate download urls like this:

http://<host>:<port>/<bucket>/<key>?AWSAccessKeyId=<access_key>&Signature=<signature>&Expires=<expires>

but certain clients, like iPXE don't seem to be able to handle downloading from an HTTP source that contains query parameters. I don't really care what the format of the url is, just so long as it can be downloaded by picky clients.

Is this even possible?


Solution

  • I ended up being able to make this work by using the iPXE imgfetch/initrd/module commands. They allow you to take whatever you have downloaded and rename the downloaded file to something that is capable of being saved.

    Link: docs