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

Make the plugin work with AWS SSO #18

Merged
merged 4 commits into from
Sep 7, 2022
Merged

Conversation

francescocervone
Copy link
Contributor

We are using AWS SSO login feature to authenticate our S3 instance.

This plugin just doesn't work with SSO by setting lookupDefaultAwsCredentials = true, forcing clients to configure the plugin with awsAccessKeyId, awsSecretKey and sessionToken.

We found out that just by adding the AWS SSO dependency will make the plugin work with no extra effort.

This StackOverflow answer helped us.

As a workaround we have now added the same dependencies (BOM and SSO) to our settings.gradle as buildscript.dependencies.classpath, but it would be nice if it was supported by this plugin out of the box.

I took the opportunity to update AWS but feel free to revert that change.

build.gradle.kts Outdated Show resolved Hide resolved
…ration

Co-authored-by: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
@vlsi vlsi merged commit ac83784 into burrunan:master Sep 7, 2022
@francescocervone francescocervone deleted the patch-1 branch September 7, 2022 10:46
@vlsi
Copy link
Contributor

vlsi commented Sep 7, 2022

Thank you for the fix. I've pushed 1.4, enjoy: https://plugins.gradle.org/plugin/com.github.burrunan.s3-build-cache

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