Commit Graph

27 Commits

Author SHA1 Message Date
Mark Paluch
90096f18ff Include notice and license in jar files.
Fixes gh-109.
2017-06-10 18:50:14 +02:00
Mark Paluch
1a9aa45b6d Upgrade to Vault 0.7.
Closes gh-93.
2017-03-31 12:31:59 +02:00
Mark Paluch
da6055a3d7 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
4a83881522 Upgrade to Vault 0.6.5.
Closes gh-77.
2017-02-08 08:36:39 +01:00
Mark Paluch
3a071d919c Upgrade to Vault 0.6.4.
Fixes gh-69.
2017-01-10 16:26:47 +01:00
Mark Paluch
ae5b3d1b80 Upgrade to Consul 0.7.1.
Fixes gh-60.
2016-12-11 22:02:47 +01:00
Mark Paluch
efda667bfd Upgrade to Vault 0.6.3.
Fixes gh-59.
2016-12-11 22:01:22 +01:00
Mark Paluch
80d38f46ff 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
8bf1e3b0ba Support MongoDB credential generation.
Fixes gh-28.
2016-09-25 19:37:24 +02:00
Mark Paluch
7a09c9875f 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