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 support for passing in an external ID when using S3 assume role #1290

Merged

Conversation

riyadhalnur
Copy link
Contributor

@riyadhalnur riyadhalnur commented May 16, 2024

  • Adds support for passing in an optional external ID config parameter for S3 assume roles
  • Will open a separate PR to update the documentation once this is merged in

Closes #1289

@DarthSim
Copy link
Member

Hey @riyadhalnur!

Thanks for the contribution! Everything looks good, but I doubt we need that warning in config.go. We'll cover this in the docs.

@riyadhalnur
Copy link
Contributor Author

I don't mind removing the warning. It's personally helpful for me though because sometimes it happens where I pass in a dependent config but forget about the required configs.

@DarthSim
Copy link
Member

In this case, the role assuming will simply not work and you'll notice this anyway 🙂

@riyadhalnur riyadhalnur force-pushed the feat/s3-assume-role-external-id branch from 313d415 to 2e6cfdb Compare May 17, 2024 17:26
@riyadhalnur
Copy link
Contributor Author

Fair enough. Removed the warning log. I'll create a PR in the docs repo soon for this change.

@DarthSim DarthSim merged commit 259b66e into imgproxy:master May 25, 2024
7 checks passed
@DarthSim
Copy link
Member

Merged! Thanks for your contribution 👍

@riyadhalnur riyadhalnur deleted the feat/s3-assume-role-external-id branch May 25, 2024 20:22
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.

Support for external IDs when using S3 with assumed roles
2 participants