tpunder / fm-sbt-s3-resolver

SBT Plugin that adds support for resolving and publishing using Amazon S3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Will not work if AWS profile is generated by AWS adfs plugin with session token

tianhao-au opened this issue · comments

I used this plugin (https://github.com/venth/aws-adfs) to generate AWS adfs profile on the fly.

Beside aws_access_key_id and aws_secret_access_key, it also generates aws_session_token which blocks the s3 resolver working.

Where does the aws_session_token need to be passed to? Is there a special AWSCredentialsProvider that needs to be used?

Do the Custom S3 Credentials solve this for you? https://github.com/frugalmechanic/fm-sbt-s3-resolver#custom-s3-credentials

Please re-open if this is still an issue.

Did you get this to work? What provider did you use?