Skip to content

Why are x-id parameters added to pre-signed URLs? #2847

Discussion options

You must be logged in to vote

Hi @chrisharward-qumulo ,

The x-id parameter is an SDK specific thing, it helps the SDK build the request to the correct S3 endpoint. Since multiple S3 operations might share the same endpoint, the SDK's request building functionality has to differentiate between the various S3 operations sent to the same endpoint. This is where x-id comes into place where the actual operation is represented in the url.

Admittedly, I'm not sure what purpose it serves in the context of presigned URLs. My guess is that because the presigning flow includes the request building flow in it, the generated URL also has this x-id query parameter that has no server side implication.

You can use this example of how…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RanVaknin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants