How to load Access Key Id, Secret Access Key and Session Token from AWS Config or Crendential file.
S3 Browser
Free Windows Client for Amazon S3 and Amazon CloudFront
Follow:
Share:

AWS Credentials from AWS Config or Crendential file


You may use this account type if you would like to load Amazon S3 credentials and session tokens from AWS Config or Crendential file.

AWS Credentials File

AWS Credentials file is usually stored in %USERPROFILE%\.aws\credentials and has the following format:


[default]
 aws_access_key_id=ACCESS_KEY
 aws_secret_access_key=SECRET_KEY
 aws_session_token=TOKEN

The file may contain multiple profiles:


[default]
 aws_access_key_id = ACCESS_KEY
 aws_secret_access_key = SECRET_KEY
 aws_session_token = TOKEN
 
[Alice]
 aws_access_key_id = Alice_access_key_ID
 aws_secret_access_key = Alice_secret_access_key
 
[Bob]
 aws_access_key_id = Bob_access_key_ID
 aws_secret_access_key = Bob_secret_access_key

You may specify the profile name when configuring account properties.

AWS Config File

AWS Config file is usually stored in %USERPROFILE%\.aws\config and has the following format:


[default]
 aws_access_key_id = ACCESS_KEY
 aws_secret_access_key = SECRET_KEY
 aws_session_token = TOKEN
 
[profile Alice]
 aws_access_key_id = Alice_access_key_ID
 aws_secret_access_key = Alice_secret_access_key
 
[profile Bob]
 aws_access_key_id = Bob_access_key_ID
 aws_secret_access_key = Bob_secret_access_key

As you may note it has the same format as the credentials file except the profile sections. Profile sections must have the format of [profile profile-name], except for the default profile.

The following variables are supported in both AWS Credentials File and AWS Config File:

  • aws_access_key_id - AWS access key.
  • aws_secret_access_key - AWS secret key.
  • aws_session_token - AWS session token. A session token is only required if you are using temporary security credentials.

You may also use the following variable to specify custom s3 endpoint:

  • s3_endpoint - custom s3 endpoint, for example my.custom.domain.com

To load Access Keys from AWS Config or Crendential file

1. Start S3 Browser and click Accounts -> Add New Account.

click add new account menu item

Click Accounts -> Add New Account

The Add New Account dialog will open:

aws credentials from aws config file

Add New Account dialog.

2. Select Amazon S3 (Credentials from AWS Config or Crendential file) as account type.

3. Specify AWS Config or Crendential file. If you leave this field empty, S3 Browser will attempt to load it from the %AWS_CONFIG_FILE% environment variable.

4. Specify Profile name. If you leave this field empty, S3 Browser will attempt to load it from the %AWS_PROFILE% environment variable and use the default profile if it is empty.

5. Enable SSL/TLS option if you would like to work via encrypted SSL/TLS channel.

6. Click Add new account


You can now choose the newly added account from the accounts menu:

how to switch between amazon s3 accounts

Click Accounts -> Account Name to switch between accounts.


Advanced Account Settings

You may also configure additional settings when adding new or editing existing account.

In order to open advanced account settings, please click the advanced settings link located at the bottom left corner of the dialog.

The Advanced Account Settings dialog will open:

Advanced storage settings dialog

Advanced account settings

You may configure the following settings here:

Enable Dual-Stack Endpoints (IPv4/IPv6) - When checked, S3 Browser will use dual-stack endpoints to access storage, allowing connections over both IPv4 and IPv6. This improves compatibility with networks that support IPv6.

List All My Buckets When Account Assigned - When checked, S3 Browser will perform the s3:ListAllMyBuckets call when the account is assigned. If the account does not have permission to list all buckets, you can uncheck this option to avoid failed tasks and warnings in the log.

Check CloudFront Distributions When Account Assigned - When checked, S3 Browser will perform the cloudfront:ListDistributions call when the account is assigned, allowing it to set a special icon for buckets used as origins for CloudFront distributions. If the account does not have permission to list CloudFront distributions, you can uncheck this option to avoid failed tasks and warnings in the log.

External Buckets - You can edit the external buckets associated with the account. Each bucket should be listed on a new line. Optional paths are also supported, with a slash used as the delimiter (e.g., my-bucket/and/optional/path).

S3 Browser 12.1.5 Freeware
Powered by Amazon Web Services and Rated by CNET Editors!
Social Connection
S3 Client Logo
 
People like S3 Browser!
Our customers say

"S3 Browser is an invaluable tool to me as a web developer to easily manage my automated site backups" -Bob Kraft, Web Developer

"Just want to show my appreciation for a wonderful product. I use S3 Browser a lot, it is a great tool." -Gideon Kuijten, Pro User

"Thank You Thank You Thank You for this tool. A must have for anyone using S3!" -Brian Cummiskey, USA

Related Products
RdpGuard
protects your Windows Server from RDP Brute-force Attacks.
"Amazon Web Services", "AWS", "Amazon S3", "Amazon Simple Storage Service", "Amazon CloudFront", "CloudFront", the "Powered by Amazon Web Services" logo are trademarks of Amazon.com, Inc. or its affiliates in the US and/or other countries.
Copyright © 2008-2024 Netsdk Software FZE. All rights reserved.  Terms of Use.  Privacy Policy.  S3 Drive.  RDP brute-force protection.