Commit Graph

74 Commits

Author SHA1 Message Date
buildmaster
cbe972781a Going back to snapshots 2017-10-30 09:08:22 +00:00
buildmaster
a85a299e08 Update SNAPSHOT to 2.0.0.M3 2017-10-30 09:07:42 +00:00
Mark Paluch
08d2a2e4c3 Polishing.
Convert spaces to tabs. Deprecate VaultPostgreSqlProperties and VaultMySqlProperties. Convert database integration test to use MySQL. Slightly reword reference documentation.

Upgrade lombok to 1.16.18 to use onMethod_ attributes.

Original pull request: gh-170.
Related ticket: gh-169.
2017-10-27 11:41:59 +02:00
Per Abich
9da5e83dc9 Add support for Vault's database backend.
We now support Vault's database backend directly. MySQL and PostgreSQL configuration properties are deprecated now in favor of spring.cloud.vault.database. Cassandra and MongoDB backends remain active and default to their deprecated backends to support multi-database configuration of multiple, various database types.

spring.cloud.vault:
    database:
        enabled: true
        role: readonly

Original pull request: gh-170.
Related ticket: gh-169.
2017-10-27 11:41:43 +02:00
Mark Paluch
9cff9eb9ed Polishing.
Rename vault-role configuration property to role for a consistent naming. Introduce path and server-name config properties. Eagerly fetch AWS credentials to fail early if credentials cannot be obtained. Fix properties in reference docs. Javadoc, reference docs wording. Add author tags. Re-generate readme.

Original pull request: gh-175.
See gh-134.
2017-10-27 10:48:38 +02:00
Kevin Holditch
96ac3ba712 Add support for AWS IAM authentication.
We now support configuration of AWS IAM using AWS' default credential provider chain to obtain credentials from the environment/system properties/credentials profile/ECS/EC2 metadata service.

spring.cloud.vault:
    authentication: AWS_IAM

Original pull request: gh-175.
Closes gh-134.
2017-10-27 10:47:58 +02:00
Mark Paluch
8403fb64eb Document how to use Vault's database backend.
See gh-169.
2017-10-20 17:41:39 +02:00
Marcin Grzejszczak
eafebb44e8 Referrencing resources from sc-build 2017-09-01 08:32:40 +02:00
Marcin Grzejszczak
71f47cf351 Updated whitelist 2017-08-29 15:29:48 +02:00
Marcin Grzejszczak
987bd3efdb Migrated to new docs; fixes #150 2017-08-29 15:29:12 +02:00
Mark Paluch
5e247bcb61 [maven-release-plugin] prepare for next development iteration 2017-08-24 09:24:41 +02:00
Mark Paluch
e21cde208d [maven-release-plugin] prepare release v2.0.0.M2 2017-08-24 08:58:13 +02:00
Mark Paluch
d8ba3bd143 Allow Vault server lookup via DiscoveryClient.
We now support Vault server lookup using service registries via DiscoveryClient. Vault server is looked up during the bootstrap phase and configured by serviceId rather than host/port when enabling service discovery.

Closes gh-132.
2017-07-24 13:42:54 +02:00
Mark Paluch
1e3701ff6b [maven-release-plugin] prepare for next development iteration 2017-06-29 16:03:00 +02:00
Mark Paluch
163c7bf1e8 [maven-release-plugin] prepare release 2.0.0.M1 2017-06-29 16:03:00 +02:00
Mark Paluch
c3f1fe34fa Setup 2.0 development.
Closes gh-127.
2017-06-29 14:30:18 +02:00
Mark Paluch
182713de5e Update documentation.
Closes gh-125.
2017-06-16 21:01:26 +02:00
Mark Paluch
1c9be8b4ad Allow specifying a Vault URI.
Closes gh-115.
2017-05-27 23:41:06 +02:00
Mark Paluch
1b946d3fa2 Allow configuration of PropertySourceLocator behavior.
We now support configuration of PropertySourceLocator behavior of generic and discovered secret backends. We introduced VaultConfigurer as strategy interface to be implemented by customizer beans in the bootstrap context. VaultConfigurer allows configuration of secret backends via SecretBackendConfigurer.

Motivation: Customization was only possible by implementing an own PropertySourceLocator by extending VaultPropertySourceLocatorSupport and implementing doCreatePropertySources. Both is non-trivial and does not allow reuse of existing functionality.

See gh-116.
2017-05-22 19:36:24 +02:00
Mark Paluch
03dd5e36c0 Allow configuration of AWS-EC2 nonce.
We now support static configuration of the AWS-EC2 authentication nonce to support re-login on application crashes/vm-internal restarts.

Closes gh-103.
2017-05-11 17:04:50 +02:00
Mark Paluch
734ac7cb5f Fix reference docs links. 2017-05-09 21:34:00 +02:00
Mark Paluch
1993145bfe Updated docs
See gh-99.
2017-04-18 11:14:17 +02:00
Marcin Grzejszczak
50854eab7b Updated docs 2017-04-18 10:28:49 +02:00
Mark Paluch
18ecd26ea2 Add revision/date to reference docs. 2017-04-10 20:34:04 +02:00
Mark Paluch
a4b0a3f3b1 Going back to snapshots 2017-04-10 20:18:30 +02:00
Mark Paluch
9d21b6572e Update SNAPSHOT to 1.0.0.RELEASE 2017-04-10 20:06:46 +02:00
Mark Paluch
0623886106 Adapt to changed GitHub repository name.
Adapt changed GitHub repository name in pom.xml and documentation.

See gh-92.
2017-03-31 12:48:09 +02:00
Mark Paluch
4b039a73e8 Polishing.
Fix HashiCorp lettercasing in Readme.
2017-03-31 12:32:49 +02:00
Mark Paluch
c26674bade [maven-release-plugin] prepare for next development iteration 2017-03-16 14:42:26 +01:00
Mark Paluch
d6596c1e56 [maven-release-plugin] prepare release 1.0.0.RC1 2017-03-16 14:42:26 +01:00
Mark Paluch
6bbc8a2714 Prepare release.
Upgrade dependencies:
Use Spring Cloud RC1/Release versions
Spring Vault 1.0.0.BUILD-SNAPSHOT -> 1.0.0.RC1
httpclient 4.5.2 -> 4.5.3
httpcore 4.4.5 -> 4.4.6
netty 4.1.6.Final -> 4.1.8.Final
OkHttp3 3.5.0 ->3.6.0
Jackson 2.8.2 -> 2.8.7

See gh-89.
2017-03-16 14:25:11 +01:00
Ryan Hoegg
bee9e716e2 Load secrets from several Vault paths
Load secrets from several Vault paths, according to the comma delimited application name.

fixes gh-74
2017-03-03 15:40:09 -05:00
Mark Paluch
537221c76b Rename spring-cloud-vault-starter-config to spring-cloud-starter-vault-config.
Align naming with existing Spring Cloud starters.

Closes gh-83.
2017-02-24 13:57:11 -05:00
Mark Paluch
74d8012b9f [maven-release-plugin] prepare for next development iteration 2017-01-27 09:08:04 +01:00
Mark Paluch
09a9afed60 [maven-release-plugin] prepare release 1.0.0.M2 2017-01-27 09:07:57 +01:00
Mark Paluch
711cd31926 Prepare release.
Remove snapshot repositories. Upgrade dependencies.

See gh-72.
2017-01-27 09:06:04 +01:00
Mark Paluch
501e7013c6 Add authentication to quickstart guide.
Fixes gh-30.
2016-12-14 15:16:26 +01:00
Jonathan Pearlin
71945e97f1 Fix configuration name for TLS auth in documentation.
Remove `.config` from the property name for setting the authentication type.

Original pull request: gh-56.
2016-11-22 16:17:34 +01:00
Mark Paluch
a7c4cff540 Fix HashiCorp lettercasing.
Fixes gh-54.
2016-10-28 17:00:05 +02:00
Mark Paluch
4df846bfd6 [maven-release-plugin] prepare for next development iteration 2016-10-28 14:07:33 +02:00
Mark Paluch
fb5bb7a2a1 [maven-release-plugin] prepare release 1.0.0.M1 2016-10-28 14:07:29 +02:00
Mark Paluch
61833f33fc Polishing.
Fix project URL in starter. Use GA version for docs pom.xml.
2016-10-28 14:06:36 +02:00
Mark Paluch
05ef83fa5d Specify plugin versions for jar, source, javadoc and deploy plugins.
Fixes gh-53.
2016-10-28 14:06:32 +02:00
Mark Paluch
91442cfa1e Add version variable to reference docs. 2016-10-28 13:33:11 +02:00
Mark Paluch
54156280c2 Add links to reference documentation links 2016-10-27 22:44:52 +02:00
Mark Paluch
ee5197a02f Add links to reference documentation.
See gh-50.
2016-10-27 22:27:57 +02:00
Mark Paluch
641dad343a Update documentation.
Fix code listings. Adopt changed repository path.

See gh-50.
2016-10-27 22:14:51 +02:00
Mark Paluch
d099df8ab0 Polishing.
Improve documentation.
2016-10-12 19:38:35 +02:00
Mark Paluch
ad305e6625 Support AppRole authentication.
We now support AppRole authentication. This authentication method uses a provided RoleId and optionally SecretId to authenticate against Vault.

Fixes gh-39.
2016-10-12 19:38:22 +02:00
Mark Paluch
b291e9c989 Support lease lifecycle (renewal and revocation).
Spring Cloud Vault now handles lifecycle of obtained secrets by property sources. Secrets associated with a renewable lease are renewed before they expire until terminal expiration. Application shutdown revokes leases so generated credentials can be disabled by Vault.

Fixes gh-40.
2016-10-10 08:24:26 +02:00