s3-recursive-acl
s3-recursive-acl copied to clipboard
Small improvements
Hi there,
Thanks for this great tool, but for me at first it didn't work as we are using an MFA token to access our AWS services.
It would fail with this message:
panic: Failed to update object permissions in 'XX-BUCKET-NAME-XX', NoCredentialProviders: no valid providers in chain. Deprecated. For verbose messaging see aws.Config.CredentialsChainVerboseErrors
So I hacked a little bit to make it work and improved it here and there.
Overview of my fixes:
- Fixed session creation so AWS MFA logins work
- Upgraded AWS SDK to latest version
- Added .gitignore for IntelliJ (because that's my IDE)
- Exit with failure if one of the objects failed to be modified
Kind regards
Wim