From 0d52813bb4efffadbb226b31fcde2ad786158ea1 Mon Sep 17 00:00:00 2001 From: John Gasper Date: Tue, 11 Aug 2020 03:26:30 -0700 Subject: [PATCH] Fix Invalid effective property name in reference documentation `server-id:` should be `server-name` per https://github.com/spring-cloud/spring-cloud-vault/blob/master/spring-cloud-vault-config/src/main/java/org/springframework/cloud/vault/config/VaultProperties.java#L584-L588 See gh-407. --- docs/src/main/asciidoc/spring-cloud-vault.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/main/asciidoc/spring-cloud-vault.adoc b/docs/src/main/asciidoc/spring-cloud-vault.adoc index 830ce360..26773ccf 100644 --- a/docs/src/main/asciidoc/spring-cloud-vault.adoc +++ b/docs/src/main/asciidoc/spring-cloud-vault.adoc @@ -355,7 +355,7 @@ spring.cloud.vault: aws-iam: role: my-dev-role aws-path: aws - server-id: some.server.name + server-name: some.server.name endpoint-uri: https://sts.eu-central-1.amazonaws.com ---- ==== @@ -364,7 +364,7 @@ spring.cloud.vault: 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. +* `server-name` 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.