-
-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
See #26 for the research. It looks like the way to do this is:
- Ensure a dedicated role with
arn:aws:iam::aws:policy/AmazonS3FullAccess
exists - if it does not, create it. It needs to have a known name - I propose usings3-credentials.AmazonS3FullAccess
here, and also populating theDescription
field. The role needs to be assumable by the current account, seeAssumeRolePolicyDocument
example in Research creating expiring credentials usingsts.assume_role()
#26 (comment) - Call
sts.assume_role()
against that role, passing in as a policy the same inline policy document used for non-expiring credentials, using the code inpolicies.py
. - Return the
AccessKeyId
,SecretAccessKey
AND theSessionToken
- all three are needed to make authenticated calls.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request