Commit Graph

44 Commits

Author SHA1 Message Date
Mark Paluch
37dd7711ec Upgrade to Vault 0.10.0.
Closes gh-211.
2018-04-24 16:20:57 +02:00
Mark Paluch
f3135ac098 Upgrade to Consul 1.0.3.
See gh-195.
2018-01-31 16:26:27 +01:00
Mark Paluch
05b1b05ab0 Upgrade to Vault 0.9.3.
Closes gh-195.
2018-01-31 16:26:06 +01:00
Mark Paluch
8d9fb303b4 Upgrade to Vault 0.9.0.
Closes gh-180.
2017-11-14 22:13:29 +01:00
Mark Paluch
9130b4ab50 Polishing.
Convert spaces to tabs. Slightly reorder methods. Make methods static where possible. Add since tags. Reformat code, remove blank lines. Remove local_run_k8s script. Replace Policy JSON with Policy API use.

Original pull request: gh-176.
Related ticket: gh-173.
Closes gh-176.
2017-11-03 13:31:39 +01:00
Michal Budzyn
063ae47fb9 Add authentication for Kubernetes Service Account Token.
We now support Vault authentication using Kubernetes Service Account Token files.

spring.cloud.vault:
    authentication: KUBERNETES
    kubernetes:
      role: dev-role

Original pull request: gh-176.
Related ticket: gh-173.
Closes gh-173.
2017-11-03 13:29:18 +01:00
Mark Paluch
b87c1e0ab2 Upgrade to Vault 0.8.3.
Closes gh-158.
2017-09-21 15:14:02 +02:00
Mark Paluch
da354891be Upgrade to Vault 0.8.2.
Closes gh-154.
2017-09-07 15:52:41 +02:00
Mark Paluch
8e85e9b764 Upgrade to Vault 0.8.1.
Closes gh-148.
2017-08-28 08:47:17 +02:00
Mark Paluch
eb2f4a98b5 [maven-release-plugin] prepare for next development iteration 2017-08-24 09:24:41 +02:00
Mark Paluch
3feab445a6 [maven-release-plugin] prepare release v2.0.0.M2 2017-08-24 08:58:13 +02:00
Mark Paluch
8dab1719b9 [maven-release-plugin] prepare for next development iteration 2017-06-29 16:03:00 +02:00
Mark Paluch
d2150f6c22 [maven-release-plugin] prepare release 2.0.0.M1 2017-06-29 16:03:00 +02:00
Mark Paluch
a08d30be37 Upgrade to Spring Cloud 2.0 M1.
See gh-126.
2017-06-29 15:35:34 +02:00
Mark Paluch
dc7d6a8c62 Include notice and license in jar files.
Fixes gh-109.
2017-06-10 18:50:08 +02:00
Mark Paluch
6fabd58bc5 Upgrade to Consul 0.8.4.
See gh-119.
2017-06-10 18:34:55 +02:00
Mark Paluch
a1ceafd403 Upgrade to Vault 0.7.3.
Closes gh-119.
2017-06-10 18:34:19 +02:00
Mark Paluch
994ce41461 Upgrade to Vault 0.7.2.
Closes gh-104.
2017-05-11 16:01:37 +02:00
Mark Paluch
906a91adfc Upgrade to Vault 0.7.
Closes gh-93.
2017-03-31 12:31:59 +02:00
Mark Paluch
f5289c0445 Improve discovery and error messages in create_certificates.sh.
Print error message if openssl/keytool cannot be found.
2017-03-18 17:41:36 +01:00
Mark Paluch
0ab34c37d9 Upgrade to Vault 0.6.5.
Closes gh-77.
2017-02-08 08:36:39 +01:00
Mark Paluch
f75ff7b76e Upgrade to Vault 0.6.4.
Fixes gh-69.
2017-01-10 16:26:47 +01:00
Mark Paluch
08cadda23e Upgrade to Consul 0.7.1.
Fixes gh-60.
2016-12-11 22:02:47 +01:00
Mark Paluch
fa982f5e8d Upgrade to Vault 0.6.3.
Fixes gh-59.
2016-12-11 22:01:22 +01:00
Mark Paluch
1a7e6c31f9 Upgrade to Vault 0.6.2.
Setup test run with Vault 0.5.3 to 0.6.2, guard tests accessing features available since specific versions.

Fixes gh-44.
2016-10-10 08:24:30 +02:00
Mark Paluch
dbfdb93ad9 Support MongoDB credential generation.
Fixes gh-28.
2016-09-25 19:37:24 +02:00
Mark Paluch
19cf1067bc Refactor code to use Spring Vault.
Extract VaultClient and configuration parts into Spring Vault and reimport using the spring-vault-core dependency.

Fixes gh-37
2016-09-21 20:54:29 +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
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
Mark Paluch
c19d2926de Create download directory in install scripts 2016-06-19 18:14:51 +02:00
Mark Paluch
625e60174f Support RabbitMQ credential generation
fixes gh-10
2016-06-19 17:57:05 +02:00
Mark Paluch
69a4bd2092 Support Consul credential generation
Fixes gh-5
2016-06-19 10:34:28 +02:00
Mark Paluch
7a27b605f7 Upgrade to Vault 0.6.0.
fixes gh-9
2016-06-18 10:21:16 +02:00
Mark Paluch
8302e662eb Polishing.
Adopt changed relative paths. Move setup scripts back to src/test/bash.

Original pull request: #8.
2016-06-10 15:57:19 +02:00
Marcin Grzejszczak
62f5f865d5 Modularized the project 2016-06-10 15:02:22 +02:00
Mark Paluch
8e7d67c0c6 Fix AppIdAuthenticationIntegrationTests. 2016-06-10 11:11:38 +02:00
Mark Paluch
1908919cf1 Add SSL trust-store configuration.
Spring Cloud Vault Config now supports property-based SSL configuration using spring.cloud.vault.ssl.* properties to enable server certificate validation.

Introducing a Vault-specific configuration requires to configure HTTP clients individually and so this change adds configuration support for Apache HTTP Components, Netty and the OkHttp client. Clients are picked configured if they exist on the class path.

Fixes gh-7
2016-06-04 21:36:47 +02:00
Mark Paluch
d2c356e0ec Add fail-fast option.
Fixes gh-3.
2016-05-14 00:21:20 +02:00
Mark Paluch
f6f3d1feb9 Polishing.
Relocate tests using Vault as config source to config client. Move integration tests to parent package as all tests are integration tests. Enhance JavaDoc. Order travis.yml file according the execution sequence.
2016-05-14 00:13:47 +02:00
Mark Paluch
1171460bf1 Add support for the mysql, postgresql and cassandra secret backends.
We now support credential generation for MySQL, PostgreSQL and Apache Cassandra databases.
Credential generation can be turned on using properties and stores username/password in properties according to Spring Boot's auto configuration.

Fixes gh-2.
2016-05-14 00:13:12 +02:00
Mark Paluch
efe53f3d55 Add setup scripts to install/run vault locally and using docker compose 2016-05-11 23:19:13 +02:00
Mark Paluch
b5ab155bcc Add app-id authentication mechanism.
Support app-id authentication using app id and user id. User-ids are generated either from the SHA-256 hex-encoded IP address or using the Mac address represented as hex without separators. Network addresses are obtained from the InetAddress.getLocalHost() method.

Tests use a test @Rule VaultRule to ensure Vault is unsealed and provides a persistent token that can be used as root token during tests. The token is static so it can be reused across multiple test runs without restarting vault. Add tests for generic secret backend usage with a static token and app-id authentication. Add tests for app-id authentication using IP address and Mac-address user-ids.
2016-05-11 23:16:51 +02:00
Spencer Gibb
69eb7197da fix tests and version 2016-02-10 22:31:15 -07:00
Spencer Gibb
9abd836d74 initial commit 2016-02-10 17:25:39 -07:00