S3 Browser can load Amazon S3 credentials and temporary session tokens from AWS config and credentials files. This is useful if you already manage profiles with AWS CLI or other AWS tools and want S3 Browser to use the same profile definitions instead of entering access keys manually.
This account type supports regular access-key profiles, temporary session-token profiles, and AWS CLI profiles that use IAM Identity Center (AWS SSO) session-based authentication. If a profile uses an SSO session, sign in with AWS CLI first, then open the profile in S3 Browser.
AWS Credentials File
The AWS credentials file is usually stored in %USERPROFILE%\.aws\credentials and has the following format:
The config file uses the same format as the credentials file, except for profile section names. Profile sections must use the format [profile profile-name], except for the default profile.
IAM Identity Center (AWS SSO) Session Profiles
S3 Browser can also use AWS CLI profiles configured with sso_session. This is useful when several AWS accounts or roles share the same IAM Identity Center login session.
Before opening the account in S3 Browser, sign in with AWS CLI:
aws sso login --sso-session=AliceSession
S3 Browser uses the cached AWS CLI SSO token to request role credentials for the selected profile. If the cached SSO session expires and cannot be refreshed, run aws sso login for the session again.
Supported Profile Settings
The following settings are supported in both the AWS credentials file and the AWS config file:
aws_access_key_id - AWS access key ID.
aws_secret_access_key - AWS secret access key.
aws_session_token - AWS session token. A session token is only required if you are using temporary security credentials.
aws_security_token - legacy name for the AWS session token.
sso_session - AWS CLI SSO session name configured in the [sso-session session-name] section.
sso_account_id - AWS account ID that contains the IAM role you want to use.
sso_role_name - IAM role name to use with the selected AWS account.
sso_start_url - IAM Identity Center start URL in the [sso-session session-name] section.
sso_region - AWS Region that contains the IAM Identity Center portal host.
You may also use the following setting to specify a custom S3 endpoint:
s3_endpoint - a custom S3 endpoint, for example my.custom.domain.com.
How to Add the Account
1. Start S3 Browser and click Accounts -> Add New Account.
Click Accounts -> Add New Account
The Add New Account dialog will open:
Add New Account dialog.
2. Select Amazon S3 (Credentials from AWS Config or Credential file) as the account type.
3. Specify AWS Config or Credential file. If you leave this field empty, S3 Browser will look for the file in %AWS_CONFIG_FILE%, %USERPROFILE%\.aws\config, %AWS_SHARED_CREDENTIALS_FILE%, or %USERPROFILE%\.aws\credentials.
4. Specify Profile name. If you leave this field empty, S3 Browser will try to read the profile name from the %AWS_PROFILE% environment variable and use the default profile if the variable is empty.
If the selected profile uses sso_session, run aws sso login --sso-session=your-session-name before opening the account in S3 Browser.
5. Turn on Use secure transfer (SSL/TLS) if you would like to use an encrypted SSL/TLS channel.
6. 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 Account Settings
You may also configure additional settings when adding a new account or editing an existing account.
To open advanced account settings, click the advanced settings link located at the bottom-left corner of the dialog.
The Advanced Account Settings dialog will open:
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).
"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.