Skip to content

AWS IAM Authentication should provide a way to sign request for the global STS endpoint (eu-east-1) #758

Closed
@Amuerte

Description

@Amuerte

Since v3.0.x, the AwsIamAuthentication is using the AWS region computed by software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain, especially to sign the headers for the AWS v4 API, which is a good point.

But in some cases, the Vault instance which is making the proxy call to AWS, is configured to use the global STS endpoint (on us-east-1), which is the default behavior. And for security reasons, Vault is not using the iam_request_url parameter.

As a consequence, you end up with an application deployed in a region A and a Vault instance using the global STS endpoint, without no easy way to use the spring-vault client to login.

Therefore, I think we should provide a way to sign request for the global STS endpoint (eu-east-1) by offering a dedicated option and
I will be glad to help on that.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions