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 global setting to disable credential checking against AWS #240

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cperrin88
Copy link

This pull request adds an option to disable the checking against AWS. The plugin is used in the caching plugin to store S3 credentials, even for local buckets. We don't need the credentials to be send to AWS. The changes are made in a way that preserves the current functionality by default.

Testing done

This was tested on our Jenkins instance and is currently active and in production. They work as expected.

The new settings look like this:
Screenshot of the settings

Submitter checklist

@cperrin88 cperrin88 force-pushed the feature/optional-credential-check branch from 9aaf31f to 8ae3640 Compare April 11, 2024 07:08
@cperrin88
Copy link
Author

Is there something missing? Do you need something to merge this?

@cperrin88 cperrin88 force-pushed the feature/optional-credential-check branch from 8ae3640 to cb08bc1 Compare June 20, 2024 09:08
@cperrin88
Copy link
Author

Fixes #241

@cperrin88
Copy link
Author

@andresrc or @amuniz or @escoem can you have a look?

Comment on lines +23 to +25
validateAgainstAWS = json.getBoolean("validateAgainstAWS");
save();
return super.configure(req, json);
Copy link
Member

Choose a reason for hiding this comment

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

Do you need to override this method? I think the default implementation in the parent class would already do what's expected.

Copy link
Author

Choose a reason for hiding this comment

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

From what I see it doesn't. Neither the save nor the setting of the local variable.

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.

2 participants