From c76e90ef9fbfbb3a60f78326e49a605de0b2c0bf Mon Sep 17 00:00:00 2001 From: buildmaster Date: Thu, 11 May 2017 15:07:45 +0000 Subject: [PATCH] Sync docs from master to gh-pages --- spring-cloud-vault.html | 38 +++++++++++++------------------------- 1 file changed, 13 insertions(+), 25 deletions(-) diff --git a/spring-cloud-vault.html b/spring-cloud-vault.html index 66f991f8..0a0c814b 100644 --- a/spring-cloud-vault.html +++ b/spring-cloud-vault.html @@ -1110,20 +1110,8 @@ party does not have the nonce and can raise an alert in Vault for further investigation.

-

The nonce is kept in memory and is lost during application restart.

-
-
-
Example 12. bootstrap.yml with disabled nonce
-
-
-
-
spring.cloud.vault:
-    authentication: AWS_EC2
-    aws-ec2:
-        use-nonce: false
-
-
-
+

The nonce is kept in memory and is lost during application restart. +You can configure a static nonce with spring.cloud.vault.aws-ec2.nonce.

AWS-EC2 authentication roles are optional and default to the AMI. @@ -1131,7 +1119,7 @@ You can configure the authentication role by setting the spring.cloud.vault.aws-ec2.role property.

-
Example 13. bootstrap.yml with configured role
+
Example 12. bootstrap.yml with configured role
@@ -1144,7 +1132,7 @@ You can configure the authentication role by setting the
-
Example 14. bootstrap.yml with all AWS EC2 authentication properties
+
Example 13. bootstrap.yml with all AWS EC2 authentication properties
@@ -1154,7 +1142,7 @@ You can configure the authentication role by setting the role: application-server aws-ec2-path: aws-ec2 identity-document: http://... - use-nonce: false + nonce: my-static-nonce
@@ -1175,7 +1163,7 @@ authentication method

identity-document sets URL of the PKCS#7 AWS EC2 identity document

  • -

    use-nonce setting this value to false will disable nonce usage

    +

    nonce used for AWS-EC2 authentication. An empty nonce defaults to nonce generation

  • @@ -1207,7 +1195,7 @@ certificate and the private key

    -
    Example 15. bootstrap.yml
    +
    Example 14. bootstrap.yml
    @@ -1251,7 +1239,7 @@ Response Wrapping for token creation requires Vault 0.6.0 or higher.
    -
    Example 16. Crating and storing tokens
    +
    Example 15. Crating and storing tokens
    @@ -1267,7 +1255,7 @@ wrapped_accessor: 46b6aebb-187f-932a-26d7-4f3d86a68319
    -
    Example 17. bootstrap.yml
    +
    Example 16. bootstrap.yml
    @@ -1408,7 +1396,7 @@ The Consul integration requires the spring-cloud-vault-config-consul
    -
    Example 18. pom.xml
    +
    Example 17. pom.xml
    @@ -1478,7 +1466,7 @@ the property name by setting spring.cloud.vault.consul.token-property
    -
    Example 19. pom.xml
    +
    Example 18. pom.xml
    @@ -1553,7 +1541,7 @@ by setting spring.cloud.vault.rabbitmq.username-property and dependency.

    -
    Example 20. pom.xml
    +
    Example 19. pom.xml
    @@ -1655,7 +1643,7 @@ backend in the configuration and the spring-cloud-vault-config-databases
    -
    Example 21. pom.xml
    +
    Example 20. pom.xml