Follow | AWS Credentials from AWS Config and Credentials Files
OverviewCS 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 CS 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 CS Browser. AWS Credentials FileThe 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 FileThe 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 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 ProfilesCS 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. [profile Alice] sso_session = AliceSession sso_account_id = 123456789012 sso_role_name = AdministratorAccess region = eu-west-1 [sso-session AliceSession] sso_start_url = https://example.awsapps.com/start sso_region = eu-west-1 sso_registration_scopes = sso:account:access Before opening the account in CS Browser, sign in with AWS CLI: aws sso login --sso-session=AliceSession CS 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. If the profile uses a GovCloud region such as us-gov-west-1 or us-gov-east-1, CS Browser uses GovCloud S3 endpoints for the profile. If use_fips_endpoint is enabled or the profile specifies an s3-fips endpoint, CS Browser uses GovCloud FIPS S3 endpoints. Supported Profile SettingsThe following settings are supported in both the AWS credentials file and the AWS config file:
You may also use the following setting to specify a custom S3 endpoint:
How to Add the Account
Advanced Account SettingsYou 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: ![]() You may configure the following settings here: Enable Dual-Stack Endpoints (IPv4/IPv6) - When checked, CS 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, CS Browser will perform the Check CloudFront Distributions When Account Assigned - When checked, CS Browser will perform the 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). | CS Browser 13.5.5 Freeware ![]() Social Connection Our customers say "CS 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 CS 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 Amazon S3!" -Brian Cummiskey, USA Related Products TntDrive Easily mount Amazon S3 Bucket as a Windows Drive. RdpGuard protects your Windows Server from RDP Brute-force Attacks. |