How to Access Amazon S3 with AWS IAM Identity Center (AWS SSO) and Reuse SSO Tokens in CS Browser
CS Browser
Free Windows client for Amazon S3 and Amazon S3 compatible storage services
 
Follow

Amazon S3 via IAM Identity Center (AWS SSO)

Overview

AWS IAM Identity Center, formerly AWS Single Sign-On (AWS SSO), lets you sign in once to access your assigned AWS accounts and applications. CS Browser uses the IAM Identity Center access token to obtain temporary role credentials for Amazon S3. You can connect without entering long-term access keys.

Use the built-in SSO account type to sign in through your browser. If you already use AWS CLI profiles with sso_session, choose Amazon S3 (Credentials from AWS Config or Credential file) to use those profiles in CS Browser.

Before you start

Ask your administrator for your AWS access portal URL and ensure that the account and permission set assigned to you give you access to the Amazon S3 buckets you need.

In the AWS access portal, open Accounts and expand your assigned AWS account. Next to the permission set you want to use, choose Access keys or Command line or programmatic access, then select Windows. Under AWS IAM Identity Center credentials (Recommended), look for the SSO Start URL and SSO Region. You can also find the account ID and permission set name in the account list. See the AWS access portal instructions.

Add and open an SSO account

  1. In CS Browser, choose Accounts, Add new account.

    Accounts menu with Add new account highlighted

    The Add New Account dialog opens:

    Add New Account dialog with the Amazon S3 via SSO fields filled in

    Display name - Enter the name you want to see in the Accounts menu.

    Account type - Choose Amazon S3 via SSO.

    For AWS GovCloud (US), choose Amazon S3 GovCloud Storage via SSO or Amazon S3 GovCloud Storage (FIPS 140-3) via SSO. The FIPS option uses regional FIPS endpoints for Amazon S3. Sign-in and role credential requests use the standard IAM Identity Center endpoints in GovCloud.

    For AWS China, choose Amazon S3 in China via SSO. Use the HTTPS access portal URL or issuer URL and the region of your AWS China IAM Identity Center instance.

    Start URL - Enter your organization's AWS access portal URL, such as https://example.awsapps.com/start.

    SSO Region - Select the region where IAM Identity Center is configured. This can differ from the region of your Amazon S3 bucket.

    Account ID - Enter the 12-digit ID of the AWS account assigned to you.

    Role name - Enter the permission set name shown in the AWS access portal, such as AmazonS3-Read-Only. IAM Identity Center uses this name to identify the role. Names starting with AWSReservedSSO_ identify the IAM roles that AWS creates for those permission sets.

  2. Click Add new account, then select the saved account from the Accounts menu.

    Accounts menu with the saved Amazon S3 via SSO account highlighted
  3. When a new SSO token is needed, CS Browser opens your default browser. Sign in to your organization's AWS access portal and approve the request. If AWS asks you to confirm a device code, compare it with the code shown in CS Browser. For AWS China, complete the authorization in the browser without a device code.

    Return to CS Browser. It obtains temporary credentials for the selected AWS account and role and opens the account.

SSO Token Cache

After browser authorization, CS Browser saves the IAM Identity Center token in %USERPROFILE%\.aws\sso\cache, the same cache directory used by the AWS CLI. The built-in SSO account uses the cache file based on the Start URL. The separate AWS config file account type supports named sso_session profiles.

Accounts that use the same Start URL and SSO Region can reuse the cached sign-in. CS Browser attempts to refresh the token when it is close to expiration or when AWS rejects it. If the cache is missing or it cannot reuse or refresh the token, CS Browser opens the browser to sign in again.

Cache files can contain access tokens, refresh tokens, and client secrets. Keep these files private and avoid copying or sharing them.

Advanced Account Settings

Use these settings to choose which buckets CS Browser loads when you select the account and how it connects to Amazon S3.

Click advanced settings at the bottom left of the Add New Account or Edit Account dialog.

The Advanced Account Settings dialog opens:

General tab with bucket listing, CloudFront distribution checks, and External Buckets

List all my buckets when account assigned - When enabled, CS Browser calls the ListBuckets operation when you select the account. If the operation returns AccessDenied, check that the permission set grants s3:ListAllMyBuckets. If you only have access to specific buckets, turn off this option and enter those buckets under External Buckets.

Check CloudFront distributions when account assigned - Lets CS Browser mark buckets used as CloudFront origins. This check calls ListDistributions and requires the cloudfront:ListDistributions permission. Turn off this option if your role has no CloudFront access.

External Buckets - Enter one bucket per line. You can include an optional prefix, such as example-bucket/reports/2026. Your role needs access to each bucket or prefix you enter.

Connection

Select the Connection tab to change the network settings for this account.

Connection tab with SSL/TLS certificate validation, proxy, dual-stack endpoints, and Transfer Acceleration

SSL/TLS certificate validation - Use the global setting or override it for this account. See account connection settings for the available choices.

Proxy - Shows the current proxy mode. Click the summary or the pencil button to open Proxy Settings.

Use dual-stack endpoints (IPv4/IPv6) - Use Amazon S3 endpoints that support both IPv4 and IPv6.

Use Amazon S3 Transfer Acceleration - Use an acceleration endpoint for file transfers to and from buckets where Transfer Acceleration is enabled.

To apply the settings, click Close, then click Add new account or Save changes in the account dialog.

See Also

CS Browser 13.6.9 Freeware
Powered by Amazon Web Services and Rated by CNET Editors!
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
RdpGuard
protects your Windows Server from RDP Brute-force Attacks.
CS Browser is developed by Netsdk Software FZE and is not affiliated with, endorsed by, or sponsored by Amazon or AWS. Amazon S3 and Amazon S3 Glacier are trademarks of Amazon.com, Inc. or its affiliates.
Copyright © 2008-2026 Netsdk Software FZE. All rights reserved.  Terms of Use.  Privacy Policy.  Refund Policy.  Mount Amazon S3 Bucket.  RDP brute-force protection.