Skip to content

AWS region locked account causes credentials test to fail #242

@rpetit3

Description

@rpetit3

Hello!

I have an IAM User that can only be accessed from us-east and us-west regions. Due to this when I click the "Test and Use these Credentials" button I get the following error:

Error: The credentials you have entered could not be validated.

ERROR Details: Authentication with cloud provider failed: CloudBridgeBaseException: An error occurred (UnauthorizedOperation) when calling the DescribeKeyPairs operation: You are not authorized to perform this operation. from exception type: <class 'botocore.exceptions.ClientError'>

After following up with IT this is due to the "Test Credentials" being called against the ap-northeast region instead of one of the us regions.

Is there any way to change where the test is called from or a way to override the test?

Thank you very much!
Robert

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions