Order of Precedence for Common Parameters

The following lists show the order of precedence that Euca2ools commands use to retrieve the URL, region name, and access key values when running commands.

URL and Region Name Order of Precedence

  1. The --url parameter specified with the command
  2. Configuration file for region given with --region
  3. The service URL environment variable (for example: EC2_URL)
  4. Configuration file for region given with AWS_DEFAULT_REGION environment variable
  5. Configuration file default region

Access Key Order of Precedence

  1. Command line arguments (for example: --secret-key)
  2. Environment variables (for example: AWS_ACCESS_KEY)
  3. Configuration file settings for user/region given with --region
  4. The AWS_CREDENTIAL_FILE
  5. Configuration file for region given with AWS_DEFAULT_REGION environment variable
  6. Configuration file settings for the default user and region
x