Skip to content

Credential should be scoped to a valid region #15

Description

@benjamin-issa

I always receive the following error:

{"message":"Credential should be scoped to a valid region, not 'eu-west-1'. "}

I've confirmed that my aws cli is configured correctly:

$ aws sts get-caller-identity --profile <profile name>
{
    "UserId": "",
    "Account": "",
    "Arn": "arn:aws:iam:::user/"
}
$ aws-es-curl --profile <profile name> -X GET https://<endpoint>.<region>.es.amazonaws.com
{"message":"Credential should be scoped to a valid region, not 'eu-west-1'. "}
$

Has anyone else seen this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions