{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "http://judkins.house/apis/k2/v1/awsAuthenticationConfig.json",
    "$$target": "awsAuthenticationConfig.json",
    "title": "AWS Security Credentials Configuration",
    "description": "Describes AWS security credential configuration. See the [documentation](http://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html)",
    "properties": {
        "accessKey": {
            "description": "The AWS access key for the API",
            "type": [
                "string",
                "null"
            ]
        },
        "accessSecret": {
            "description": "The AWS access secret for the API",
            "type": [
                "string",
                "null"
            ]
        },
        "credentialsFile": {
            "description": "The AWS credentials file for the API",
            "type": [
                "string",
                "null"
            ]
        },
        "credentialsProfile": {
            "description": "The profile to use within the credentials file",
            "type": [
                "string",
                "null"
            ]
        },
        "securityToken": {
            "description": "The Session Token to use when access credentials are from temporary STS grants",
            "type": [
                "string",
                "null"
            ]
        }
    },
    "required": [
        "accessKey",
        "accessSecret",
        "credentialsFile",
        "credentialsProfile"
    ],
    "additionalProperties": false,
    "type": "object"
}