Add support to override endpointUri for AWS IAM Authentication.
We now allow setting the AWS IAM Endpoint URI to adjust for various AWS regions. Closes gh-346.
This commit is contained in:
@@ -357,12 +357,14 @@ spring.cloud.vault:
|
||||
role: my-dev-role
|
||||
aws-path: aws
|
||||
server-id: some.server.name
|
||||
endpoint-uri: https://sts.eu-central-1.amazonaws.com
|
||||
----
|
||||
====
|
||||
|
||||
* `role` sets the name of the role against which the login is being attempted. This should be bound to your IAM role. If one is not supplied then the friendly name of the current IAM user will be used as the vault role.
|
||||
* `aws-path` sets the path of the AWS mount to use
|
||||
* `server-id` sets the value to use for the `X-Vault-AWS-IAM-Server-ID` header preventing certain types of replay attacks.
|
||||
* `endpoint-uri` sets the value to use for the AWS STS API used for the `iam_request_url` parameter.
|
||||
|
||||
AWS-IAM requires the AWS Java SDK dependency (`com.amazonaws:aws-java-sdk-core`)
|
||||
as the authentication implementation uses AWS SDK types for credentials and request signing.
|
||||
|
||||
Reference in New Issue
Block a user