spring.cloud.vault:
+ elasticsearch:
+ enabled: true
+ role: readonly
+ backend: mongodb
+ username-property: spring.elasticsearch.rest.username
+ password-property: spring.elasticsearch.rest.password
+diff --git a/reference/html/index.html b/reference/html/index.html index 7d7cf703..d7c9e847 100644 --- a/reference/html/index.html +++ b/reference/html/index.html @@ -153,6 +153,7 @@ $(globalSwitch);
While the database backend is a generic one, spring.cloud.vault.database
specifically targets JDBC databases.
-Username and password are stored in spring.datasource.username and spring.datasource.password
+Username and password are available from spring.datasource.username and spring.datasource.password properties
so using Spring Boot will pick up the generated credentials for your DataSource without further configuration.
You can configure the property names by setting
spring.cloud.vault.database.username-property and
@@ -2182,8 +2186,8 @@ The integration can be enabled by setting
spring.cloud.vault.cassandra.enabled=true (default false) and providing the role name with spring.cloud.vault.cassandra.role=….
Username and password are stored in spring.data.cassandra.username
-and spring.data.cassandra.password so using Spring Boot will pick up the generated credentials without further configuration.
+
Username and password are available from spring.data.cassandra.username
+and spring.data.cassandra.password properties so using Spring Boot will pick up the generated credentials without further configuration.
You can configure the property names by setting
spring.cloud.vault.cassandra.username-property and
spring.cloud.vault.cassandra.password-property.
Spring Cloud Vault can obtain since version 3.0 credentials for Elasticsearch.
+The integration can be enabled by setting
+spring.cloud.vault.elasticsearch.enabled=true (default false) and providing the role name with spring.cloud.vault.elasticsearch.role=….
Username and password are available from spring.elasticsearch.rest.username
+and spring.elasticsearch.rest.password properties so using Spring Boot will pick up the generated credentials without further configuration.
+You can configure the property names by setting
+spring.cloud.vault.elasticsearch.username-property and
+spring.cloud.vault.elasticsearch.password-property.
spring.cloud.vault:
+ elasticsearch:
+ enabled: true
+ role: readonly
+ backend: mongodb
+ username-property: spring.elasticsearch.rest.username
+ password-property: spring.elasticsearch.rest.password
+enabled setting this value to true enables the Elasticsearch database backend config usage
role sets the role name of the Elasticsearch role definition
backend sets the path of the Elasticsearch mount to use
username-property sets the property name in which the Elasticsearch username is stored
password-property sets the property name in which the Elasticsearch password is stored