How to access S3 via Temporary Security Credentials
An AWS Account or an IAM user can request temporary security credentials and use them to access Amazon S3.
The credentials consist of an Access Key ID, a Secret Access Key, and a Security Token.
Temporary security credentials are obtained from AWS Security Token Service (AWS STS) by sending the
AssumeRole
or GetSessionToken call.
With S3 Browser you can easily work
with Amazon S3 via temporary security credentials, it calls
AssumeRole
or GetSessionToken automatically when required.
Once obtained, temporary security credentails are cached in memory and used until they expire,
then the next STS call is sent.
To connect Amazon S3 via STS GetSessionToken
1. Start S3 Browser and click Accounts -> Add New Account.
Click Accounts -> Add New Account
The Add New Account dialog will open:
New Amazon S3 via GetSessionToken account dialog.
2. Choose the Amazon S3 via GetSessionToken account type
3. Select the Source Account - an account for calling GetSessionToken.
The GetSessionToken operation must be called by using the long-term AWS security credentials
of the AWS account root user or an IAM user
4. Turn on the Use secure transfer (SSL/TLS) checkbox if you would like to encrypt all communications with the storage.
5. Click Add new account
You can now choose the newly added account from the Accounts menu:
Click Accounts -> Account Name to switch between accounts.
Advanced Settings
You may also configure additional settings for the Amazon S3 via GetSessionToken account type.
To open Advanced Settings please click the Advanced settings.. link located at the bottom-left corner of the dialog.
Click the Advanced settings.. link
The Advanced Account Settings dialog will open:
GetSessionToken
Advanced Account Settings dialog, the GetSessionToken tab
1. MFA Serial - an optional field, the identification number of the MFA device
that is associated with the user who is making the GetSessionToken call.
Specify it if the user has a policy that requires MFA authentication or leave it empty
2. Session duration in seconds - the duration in seconds, that temporary credentails should remain valid.
Advanced Account Settings dialog, the Miscellaneous tab
Miscellaneous
List all my buckets when account assigned - if checked, S3 Browser performs s3:ListAllMyBuckets
call when account is assigned. You may uncheck this for accounts that are not allowed to list all buckets
to avoid failed tasks and warnings in the log.
Check CloudFront distributions when account assigned - if checked, S3 Browser performs cloudfront:ListDistributions
call when account is assigned to set special icon for buckets that are used as origin for CloudFront distributions.
You may uncheck this for accounts that are not allowed to list CloudFront distributions to avoid failed tasks and warnings in the log.
External Buckets - you may edit external buckets associated with the account. Each bucket must be specified on a new line.
Optional path is also supported, slash is used as delimiter, for example my-bucket/and/optional/path
|