166 Commits

Author SHA1 Message Date
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
Marcin Grzejszczak
45d08c7588 Triggering CI 2016-06-10 11:26:23 +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
8bd4f5f4b3 Update readme. 2016-05-14 00:21:51 +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
ee6782c746 Enable TravisCI build. 2016-05-11 23:20:31 +02:00
Mark Paluch
6f9da0822f Add basic documentation. 2016-05-11 23:19:13 +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
16fe3596ce Ignore vault binaries 2016-05-11 23:19:09 +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