Mount Amazon S3 as a Windows Drive with TntDrive Using AWS Credential Environment Variables
TntDrive
Bringing the Cloud Closer
 
Follow

Mount Amazon S3 Using Environment Variables

The Amazon S3 via Environment Variables account type lets TntDrive load AWS credentials from environment variables instead of storing them in the account configuration.

TntDrive reads the variables in the TntDrive Service process and uses the credentials to sign requests to Amazon S3. This account type is useful when credentials are provisioned outside TntDrive and exposed to the Windows service through system environment variables.

TntDrive uses the same variable names as AWS CLI and AWS SDKs.

Configure AWS credential environment variables

  • AWS_ACCESS_KEY_ID - the AWS access key ID. This variable is required.
  • AWS_SECRET_ACCESS_KEY - the secret access key associated with the access key ID. This variable is required.
  • AWS_SESSION_TOKEN - the session token. This variable is required when using temporary security credentials and should be omitted for long-term credentials.
  • Define these values as Windows System variables. Variables defined only for the current user, Command Prompt, or PowerShell session are not available to TntDrive Service.
  • After adding or changing a variable, choose Tools > TntDrive Service > Restart in TntDrive Dashboard. TntDrive caches the values visible to the service process for three seconds.
  • Grant the credentials only the Amazon S3 permissions required for the buckets and operations that TntDrive will use.
  • For AWS GovCloud (US), select Amazon S3 GovCloud via Environment Variables and provide credentials from the AWS GovCloud (US) partition.

Add an environment variables account to TntDrive

  1. Start TntDrive Dashboard and choose Accounts > Add new account...

    TntDrive Accounts menu with Add new account selected
    Choose Accounts > Add new account.
  2. The Add New Account dialog will open.

    Add an Amazon S3 via Environment Variables account in TntDrive
    Add New Amazon S3 via Environment Variables Account dialog
  3. Enter a descriptive account name.

  4. Choose Amazon S3 via Environment Variables as the account type.

  5. Keep Use secure transfer (SSL/TLS) enabled.

  6. Click Add new account.

You can now add a new mapped drive and select this account. TntDrive will use the AWS credentials visible to the TntDrive Service process.

Fully Functional Free Trial
Powered by Amazon Web Services
Social Connection
 
People like TntDrive!
People like us
Related Products
TntDrive 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.  CS Browser.  Prevent RDP Brute-Force.