Commit Graph

15 Commits

Author SHA1 Message Date
Mark Paluch
bfb0854e91 Polishing
Add author tag. Improve documentation. Regenerate readme.

Original pull request: gh-36
2016-09-21 19:13:24 +02:00
Jean-Philippe Bélanger
bc02b8d3ff Support priority ordering for VaultPropertySourceLocator.
We now support setting a priority for VaultPropertySourceLocator by configuring `spring.cloud.vault.config.order`. Lower values increase priority, higher values decrease priority. Applying a priority can be used to control VaultPropertySourceLocator precedence over other property sources.

Original pull request: gh-36.
2016-09-21 19:08:39 +02:00
Mark Paluch
d1e710bd7f Polishing
Reformat code. Use state key for health indicator details. Add health method declaration to VaultOperations. Switch actuator dependency to optional dependency. Add tests.

Original pull request: gh-29
Fixes gh-24
2016-08-27 07:51:05 +02:00
Stuart Ingram
a747663447 Added HealthIndicator functionality as well as health API support.
Resolves #24
2016-08-26 15:16:27 -04:00
Mark Paluch
27d1e695ec Upgrade to Spring Boot 1.4 GA
Fixes gh-26
2016-07-29 06:00:45 +02:00
Mark Paluch
33553bf051 Add support for TLS certificate authentication
We now support TLS client certificate authentication. The client needs to enable SSL and configure a keystore containing the client certificate/private key pair.

spring.cloud.vault:
    authentication: CERT
    ssl:
        key-store: classpath:keystore.jks
        key-store-password: changeit

Fixes gh-25
2016-07-21 17:21:49 +02:00
Mark Paluch
5e3eb5d047 Refactor ClientAuthentication to use VaultClient
See gh-23
2016-07-19 16:40:22 +02:00
Mark Paluch
d4f40a1f40 Provide a Vault client API for low-level and higer-order functions
Split functionality from VaultClient and refactor it into VaultConfigOperations/VaultConfigTemplate. The template now holds the authentication state and the property source just uses the template.

Fixes gh-23
2016-07-19 16:39:49 +02:00
Mark Paluch
5475f58bf1 Support AWS-EC2 authentication
We now support AWS-EC2 authentication for applications running on EC2 instances. This authentication method uses the PKCS7 identity document to authenticate against Vault. It provides support for nonce (enabled by default) and roles.

fixes gh-17
2016-07-05 21:31:33 +02:00
Mark Paluch
232aae9ba8 Refactor ClientAuthentication into own component
The authentication API can be provided into VaultClient by implementing a ClientAuthentication.
2016-07-04 22:45:47 +02:00
Mark Paluch
28280f5dae Polishing
Reduce dependencies to Spring Web. Remove amqp test dependency from starter. Remove version property from vault parent pom.
2016-07-04 22:20:11 +02:00
Mark Paluch
a8e9feff67 Guard test against sealed and uninitialized Vault
Add try/catch to guard test from exception.
2016-06-23 08:58:58 +02:00
Mark Paluch
656c181178 Add possibility to disable generic backend #12 2016-06-23 08:58:58 +02:00
Mark Paluch
915df54325 Create BOM and starter #13
Create a Bill of Materials (spring-cloud-vault-dependencies) and refactor dependencies to the BOM. Create also a starter to simplify adoption.
2016-06-23 08:58:54 +02:00
Mark Paluch
c0da914b00 Split into modules #11
Split Spring Cloud Vault Config into multiple modules: Core, Config, Database/Consul/RabbitMQ integrations.
2016-06-23 00:13:58 +02:00