This pull request adds support for assuming ARN role after login, which is commonly needed when one AWS account have several internal setups (dev/qa/prod etc.). The changes here also automatically covers another pending pull request (https://github.com/drone-plugins/drone-s3/pull/64).
Example:
- name: test
image: drone/s3
settings:
bucket: test
access_key:
from_secret: aws_access_key_id
secret_key:
from_secret: aws_secret_access_key
user_role_arn: arn:aws:iam::1234567890:role/ADFS_SOME_APP_SERVICE
source: ./*
target: /build-artifacts/
Hi,
This pull request adds support for assuming ARN role after login, which is commonly needed when one AWS account have several internal setups (dev/qa/prod etc.). The changes here also automatically covers another pending pull request (https://github.com/drone-plugins/drone-s3/pull/64).
Example: