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

Add missing x-amz-content-sha256 header when generating headers for… #519

Merged
merged 5 commits into from
Mar 21, 2024

Conversation

kbalthaser
Copy link
Contributor

@kbalthaser kbalthaser commented Nov 22, 2023

… s3 authorization.

Also adds the ability to configure the AWS region when pulling from S3. For back-compat, the code defaults to the original hardcoded us-east-1 value.

Closes #518

Fixes Issue

Fixes #518

Check List (Check all the applicable boxes)

  • I sign off on contributing this submission to open-source
  • My code follows the code style of this project.
  • My change requires changes to the documentation.
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • This PR does not contain plagiarized content.
  • The title of my pull request is a short description of the requested changes.

Copy link

netlify bot commented Nov 22, 2023

Deploy Preview for opal-docs canceled.

Name Link
🔨 Latest commit c175db2
🔍 Latest deploy log https://app.netlify.com/sites/opal-docs/deploys/65fc4d36faa14100081d54aa

…cking a bundle from an S3 bucket. Originally was hard-coded to `us-east-1`. For backwards compatibility, if the new option is not provided, we will default back to `us-east-1`.
@asafc asafc requested a review from roekatz November 30, 2023 13:50
@asafc
Copy link
Contributor

asafc commented Nov 30, 2023

thanks for this contribution! @roekatz will review when he next gets a chance.

@kbalthaser
Copy link
Contributor Author

Is there anything I can do to help move this along? We are working on setting up our OPAL infrastructure, and this is currently an impediment unless we run local dev builds.

Copy link
Collaborator

@roekatz roekatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay, that looks great 👍
Fix my couple (somewhat cosmetic) comments - and we'll merge.

packages/opal-common/opal_common/utils.py Outdated Show resolved Hide resolved
…redundant if statement.

- Fix duplicated value in documentation.
Copy link
Collaborator

@roekatz roekatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!
@kbalthaser - Thanks for that PR, it's highly appreciated 🚀 🏆

@roekatz
Copy link
Collaborator

roekatz commented Mar 21, 2024

@kbalthaser Just fix the pre-commit and I'll merge?

@kbalthaser
Copy link
Contributor Author

@roekatz I think I got those fixed now.

@roekatz roekatz merged commit ae4765d into permitio:master Mar 21, 2024
10 checks passed
@orweis
Copy link
Contributor

orweis commented Mar 21, 2024

@danielbass37 / @gemanor - please offer @kbalthaser some swag - in appreciation of his contribution !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fetching policy bundle from AWS-S3 fails due to missing header
4 participants