Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support generation of Presigned URLs in AWS signer #6582

Open
prasanthj opened this issue Feb 9, 2024 · 2 comments
Open

Support generation of Presigned URLs in AWS signer #6582

prasanthj opened this issue Feb 9, 2024 · 2 comments

Comments

@prasanthj
Copy link

What is the underlying problem you're trying to solve?

AWS signer supports presigning but it is only making the signed request valid at a later point in time, essentially setting the x-amz-date to late timestamp.
It will be good if the OPA aws signer can also support generating Presigned URLs. https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-presigned-url.html
This is typically a config in the AWS SDK in the signable request whether to sign or presign. If presign is selected it generates a single URL that contains all the signing related headers encoded in the url.

Describe the ideal solution

Add option in the signer to generate Presigned URLs.

Describe a "Good Enough" solution

Additional Context

@philipaconrad
Copy link
Contributor

If your goal is to generate a string that is the pre-signed URL, I think that might be a good case for a new builtin that simply shares a bunch of the signing logic. 🤔

Maybe something like providers.aws.pre_sign_req?

Copy link

stale bot commented Mar 16, 2024

This issue has been automatically marked as inactive because it has not had any activity in the last 30 days. Although currently inactive, the issue could still be considered and actively worked on in the future. More details about the use-case this issue attempts to address, the value provided by completing it or possible solutions to resolve it would help to prioritize the issue.

@stale stale bot added the inactive label Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants