Skip to content

Remove S3Client static configuration for more flexible usage#344

Merged
pashidlos merged 1 commit intoVisual-Regression-Tracker:s3-creds-fixfrom
adriannieto:patch-1
Apr 2, 2026
Merged

Remove S3Client static configuration for more flexible usage#344
pashidlos merged 1 commit intoVisual-Regression-Tracker:s3-creds-fixfrom
adriannieto:patch-1

Conversation

@adriannieto
Copy link
Copy Markdown
Contributor

If credentials are specified in S3Client other auth methods like IDSA will not work, as this disables the default behaviour of the AWS SDK client (https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/setting-credentials-node.html)

With this change we should be able to remove the need of hardcoded credentials when accesing S3 in favor of more secure IDSA.

If credentials are specified in S3Client other auth methods like IDSA will not work, as this disables the default behaviour of the AWS SDK client (https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/setting-credentials-node.html)

With this change we should be able to remove the need of hardcoded credentials when accesing S3 in favor of more secure IDSA.
@adriannieto adriannieto changed the title Remove S3Client IAM static credentials to allow other auth methods Remove S3Client static configuration for more flexible usage Mar 26, 2026
@pashidlos pashidlos changed the base branch from master to s3-creds-fix April 2, 2026 08:21
@pashidlos pashidlos merged commit 3e41015 into Visual-Regression-Tracker:s3-creds-fix Apr 2, 2026
@pashidlos
Copy link
Copy Markdown
Member

moved to #345

pashidlos added a commit that referenced this pull request Apr 2, 2026
#345)

* Remove S3Client IAM static credentials to allow other auth methods (#344)

If credentials are specified in S3Client other auth methods like IDSA will not work, as this disables the default behaviour of the AWS SDK client (https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/setting-credentials-node.html)

With this change we should be able to remove the need of hardcoded credentials when accesing S3 in favor of more secure IDSA.

* lint fix

---------

Co-authored-by: Adrian N. <7558172+adriannieto@users.noreply.github.com>
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