aws-runtime 1.7.2

Runtime support code for the AWS SDK. This crate isn't intended to be used directly.
Documentation
{
  "description": [
    "These are test descriptions that specify which files and profiles should be loaded based on the specified environment ",
    "variables.",
    "See 'file-location-tests.schema.json' for a description of this file's structure."
  ],

  "tests": [
    {
      "name": "User home is loaded from $HOME with highest priority on non-windows platforms.",
      "environment": {
        "HOME": "/home/user",
        "USERPROFILE": "ignored",
        "HOMEDRIVE": "ignored",
        "HOMEPATH": "ignored"
      },
      "platform": "linux",
      "profile": "default",
      "configLocation": "/home/user/.aws/config",
      "credentialsLocation": "/home/user/.aws/credentials"
    },

    {
      "name": "User home is loaded from $HOME with highest priority on windows platforms.",
      "environment": {
        "HOME": "C:\\users\\user",
        "USERPROFILE": "ignored",
        "HOMEDRIVE": "ignored",
        "HOMEPATH": "ignored"
      },
      "platform": "windows",
      "profile": "default",
      "configLocation": "C:\\users\\user\\.aws\\config",
      "credentialsLocation": "C:\\users\\user\\.aws\\credentials"
    },

    {
      "name": "User home is loaded from $USERPROFILE on windows platforms when $HOME is not set.",
      "environment": {
        "USERPROFILE": "C:\\users\\user",
        "HOMEDRIVE": "ignored",
        "HOMEPATH": "ignored"
      },
      "platform": "windows",
      "profile": "default",
      "configLocation": "C:\\users\\user\\.aws\\config",
      "credentialsLocation": "C:\\users\\user\\.aws\\credentials"
    },

    {
      "name": "User home is loaded from $HOMEDRIVE$HOMEPATH on windows platforms when $HOME and $USERPROFILE are not set.",
      "environment": {
        "HOMEDRIVE": "C:",
        "HOMEPATH": "\\users\\user"
      },
      "platform": "windows",
      "profile": "default",
      "configLocation": "C:\\users\\user\\.aws\\config",
      "credentialsLocation": "C:\\users\\user\\.aws\\credentials"
    },

    {
      "name": "The default config location can be overridden by the user on non-windows platforms.",
      "environment": {
        "AWS_CONFIG_FILE": "/other/path/config",
        "HOME": "/home/user"
      },
      "platform": "linux",
      "configLocation": "/other/path/config",
      "credentialsLocation": "/home/user/.aws/credentials"
    },

    {
      "name": "The default credentials location can be overridden by the user on non-windows platforms.",
      "environment": {
        "AWS_SHARED_CREDENTIALS_FILE": "/other/path/credentials",
        "HOME": "/home/user"
      },
      "platform": "linux",
      "profile": "default",
      "configLocation": "/home/user/.aws/config",
      "credentialsLocation": "/other/path/credentials"
    },

    {
      "name": "The default credentials location can be overridden by the user on windows platforms.",
      "environment": {
        "AWS_CONFIG_FILE": "C:\\other\\path\\config",
        "HOME": "C:\\users\\user"
      },
      "platform": "windows",
      "profile": "default",
      "configLocation": "C:\\other\\path\\config",
      "credentialsLocation": "C:\\users\\user\\.aws\\credentials"
    },

    {
      "name": "The default credentials location can be overridden by the user on windows platforms.",
      "environment": {
        "AWS_SHARED_CREDENTIALS_FILE": "C:\\other\\path\\credentials",
        "HOME": "C:\\users\\user"
      },
      "platform": "windows",
      "profile": "default",
      "configLocation": "C:\\users\\user\\.aws\\config",
      "credentialsLocation": "C:\\other\\path\\credentials"
    },

    {
      "name": "The default profile can be overridden via environment variable.",
      "environment": {
        "AWS_PROFILE": "other",
        "HOME": "/home/user"
      },
      "platform": "linux",
      "profile": "other",
      "configLocation": "/home/user/.aws/config",
      "credentialsLocation": "/home/user/.aws/credentials"
    }
  ]
}