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

SWATCH-3151: skip setting credential provider when using moto #4103

Closed
wants to merge 2 commits into from

Conversation

kflahert
Copy link
Contributor

Jira issue: SWATCH-3151

Description

Skip setting aws credentials when moto is being used.

@kflahert kflahert marked this pull request as ready for review January 13, 2025 21:50
@kflahert kflahert added QE Pull request should be approved by QE before merge Dev Pull requests that need developer review labels Jan 13, 2025
Copy link
Contributor

@Sgitario Sgitario left a comment

Choose a reason for hiding this comment

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

We're opening a dangerous door here that allow users to submit usages to other servers using these credentials. Plus, we're losing the ability to test the credentials matching in the iqe tests.

Instead, we should configure moto to only allow requests for the expected aws seller account IDs credentials.

@Sgitario Sgitario self-assigned this Jan 14, 2025
@kflahert
Copy link
Contributor Author

@Sgitario good point thanks! I'll fix

@kflahert kflahert closed this Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dev Pull requests that need developer review QE Pull request should be approved by QE before merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants