Impossible Cloud Documentation
  • Company overview
    • What is Impossible Cloud
  • Getting Started
    • Getting Started with Impossible Cloud Storage
      • Setting up
      • Next steps
      • Getting support
  • Feature Release Notes
    • 29th April 2025
  • Impossible cloud storage Guide
    • Storage Console URLs and API Endpoints
    • Storage Console
      • Accessing the console
        • Signing up for Impossible Cloud Storage
        • Signing in to Impossible Cloud Storage
        • Session lifetime limits
      • Interacting with the console
        • Navigating the menu
        • Using the panel
    • Buckets and Objects
      • Creating a bucket
      • Storing objects in a bucket
      • Interacting with objects
      • Creating folders in a bucket
      • Interacting with folders and buckets
      • Public File Sharing via URLs
      • Emptying a Bucket
      • Limitations
      • Versioning and object lock
        • Enabling versioning
        • Using versioning
        • Enabling object lock
        • Using object lock
    • Access keys
    • CLI User Guide
      • AWS CLI installation instructions
      • AWS CLI configuration
      • Using Impossible Cloud with AWS CLI
      • AWS CLI basic commands
      • AWS CLI advanced commands
        • Examples
      • AWS CLI for cloud-to-cloud migration scenarios
      • AWS CLI Credentials & Config chain
      • AWS CLI: IAM
        • Limitations
        • List of supported operations
        • Operations Descriptions and Examples
    • Usage
      • Storage Calculation
      • Fair use policy
    • Profile settings
      • Multi-Factor Authentication (MFA)
        • Enabling and Disabling MFA
        • MFA Reset
        • Organization-Wide Policies
  • Security
    • Securing Your Data
    • Identity Access Management (IAM)
      • Managing Users
      • Managing Groups
      • Managing Policies
    • CORS support
      • Limitations
      • CORS Configuration
  • Integrations with other applications
    • Backup Software Integrations Guides
    • Cloud Storage Browsers Integrations Guides
    • Media Management Software Integrations Guides
    • NAS Applications Integrations Guides
  • Other support resources
    • Impossible Cloud Management Console (ICMC)
    • Knowledge Base
    • Help Center
    • System Status
Powered by GitBook
On this page
  • Command Line Options
  • Environmental Variables

Was this helpful?

Export as PDF
  1. Impossible cloud storage Guide
  2. CLI User Guide

AWS CLI Credentials & Config chain

If you use the AWS CLI tool for your operations and application implementation, it's important to note that the CLI searches for credentials and configuration data in a specific hierarchical order.

Command Line Options

For example: using options like "--profile", "--region", "--output" etc...

If the necessary data is not found through command line options, the CLI will check for environmental variables.

Environmental Variables

AWS_ACCESS_KEY_ID

AWS_SECRET_ACCESS_KEY

AWS_SESSION_TOKEN

AWS_DEFAULT_REGION

... and so on. If the data is still not found, the CLI will look for it in the CLI credentials file, which can be found at the following locations:

  1. For Linux: ~/.aws/credentials

  2. For Windows: C:\Users\<user-name>\.aws\credentials

Finally, if the data is still not found, the CLI will search for it in the CLI configuration file, which can be found at the following locations:

  1. For Linux: ~/.aws/config

  2. For Windows: C:\Users<user-name>.aws\config

PreviousAWS CLI for cloud-to-cloud migration scenariosNextAWS CLI: IAM

Last updated 7 months ago

Was this helpful?