Commit Graph

469 Commits

Author SHA1 Message Date
John Gasper
0d52813bb4 Fix Invalid effective property name in reference documentation
`server-id:` should be `server-name` per https://github.com/spring-cloud/spring-cloud-vault/blob/master/spring-cloud-vault-config/src/main/java/org/springframework/cloud/vault/config/VaultProperties.java#L584-L588

See gh-407.
2020-08-11 12:26:30 +02:00
dependabot-preview[bot]
5f77ec2925 Bump assertj-core from 3.10.0 to 3.16.1
Bumps [assertj-core](https://github.com/joel-costigliola/assertj-core) from 3.10.0 to 3.16.1.
- [Release notes](https://github.com/joel-costigliola/assertj-core/releases)
- [Commits](https://github.com/joel-costigliola/assertj-core/compare/assertj-core-3.10.0...assertj-core-3.16.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
See gh-419.
2020-08-11 12:25:08 +02:00
dependabot-preview[bot]
47e43ebbe1 Bump aws-java-sdk-core from 1.11.627 to 1.11.838
Bumps [aws-java-sdk-core](https://github.com/aws/aws-sdk-java) from 1.11.627 to 1.11.838.
- [Release notes](https://github.com/aws/aws-sdk-java/releases)
- [Changelog](https://github.com/aws/aws-sdk-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-java/compare/1.11.627...1.11.838)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

See gh-434.
2020-08-11 12:21:55 +02:00
dependabot-preview[bot]
39b1bc30ed Bump bcpkix-jdk15on from 1.65 to 1.66
Bumps [bcpkix-jdk15on](https://github.com/bcgit/bc-java) from 1.65 to 1.66.
- [Release notes](https://github.com/bcgit/bc-java/releases)
- [Changelog](https://github.com/bcgit/bc-java/blob/master/docs/releasenotes.html)
- [Commits](https://github.com/bcgit/bc-java/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

See gh-421.
2020-08-11 12:21:17 +02:00
dependabot-preview[bot]
75134a562a Bump maven-source-plugin from 3.0.1 to 3.2.1
Bumps [maven-source-plugin](https://github.com/apache/maven-source-plugin) from 3.0.1 to 3.2.1.
- [Release notes](https://github.com/apache/maven-source-plugin/releases)
- [Commits](https://github.com/apache/maven-source-plugin/compare/maven-source-plugin-3.0.1...maven-source-plugin-3.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
See gh-417.
2020-08-11 12:20:27 +02:00
dependabot-preview[bot]
9e20301301 Bump maven-javadoc-plugin from 3.0.1 to 3.2.0
Bumps [maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.0.1 to 3.2.0.
- [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
- [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-3.0.1...maven-javadoc-plugin-3.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

See gh-414.
2020-08-11 12:19:22 +02:00
dependabot-preview[bot]
90bbe1d1ae Bump jacoco-maven-plugin from 0.7.9 to 0.8.5
Bumps [jacoco-maven-plugin](https://github.com/jacoco/jacoco) from 0.7.9 to 0.8.5.
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.7.9...v0.8.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

See gh-413.
2020-08-11 12:18:55 +02:00
spencergibb
2ab283bde2 Uses new spring-cloud-starter-bootstrap.
This allows opt-in to bootstrap via classpath rather than properties.
2020-08-10 15:42:24 -04:00
spencergibb
15c37cdb6f Ignores .sdkmanrc 2020-08-10 15:41:45 -04:00
spencergibb
12a2266fd0 Updates to use repo.spring.io/snapshot 2020-08-10 15:41:17 -04:00
buildmaster
cd43f75720 Going back to snapshots 2020-07-23 19:32:34 +00:00
buildmaster
02190ff83a Update SNAPSHOT to 3.0.0-M3 2020-07-23 19:30:44 +00:00
spencergibb
2a2c2cab8c Adds junit-vintage-engine as a test dependency 2020-06-08 12:57:21 -04:00
Marcin Grzejszczak
af088a4d7a Changed packaging to jar 2020-06-08 17:12:48 +02:00
Marcin Grzejszczak
b7722bd45e Uploading sources for docs 2020-06-08 16:48:16 +02:00
buildmaster
ae86ac3fbf Bumping versions 2020-06-04 12:00:31 +00:00
buildmaster
1c62107c75 Going back to snapshots 2020-05-29 19:31:33 +00:00
buildmaster
f06c31f83b Update SNAPSHOT to 3.0.0-M2 2020-05-29 19:30:29 +00:00
Marcin Grzejszczak
aad03844b4 Changed vault config docs to vault docs 2020-05-26 15:25:34 +02:00
Marcin Grzejszczak
0d919958e2 Setting up repository for docs.spring.io migration 2020-05-25 14:40:36 +02:00
Marcin Grzejszczak
bfc8857bee Setting up repository for docs.spring.io migration 2020-05-25 13:43:20 +02:00
buildmaster
ccac2c7a52 Bumping versions 2020-05-22 12:00:40 +00:00
Mark Paluch
9bec609b8d Introduce profile override for Key Value backend.
We now provide an override spring.cloud.vault.kv.profiles=… to specify application profiles that should be used for Vault access instead of Environment.getActiveProfiles().

Closes gh-385.
2020-05-20 15:26:43 +02:00
Mark Paluch
9f4f8eda64 Polishing
Fiy typos, improve wording.

See gh-392.
2020-05-20 14:53:38 +02:00
Mark Paluch
28a26699a5 Database support for Elasticsearch
Spring Cloud Vault can now obtain credentials for Elasticsearch's HTTP API by enabling vault.config.backends.elasticsearch.enabled=true and providing a role name.

Closes gh-392.
2020-05-20 14:51:58 +02:00
Mark Paluch
337ce41d03 Remove spring.cloud.vault.generic configuration properties.
Spring Cloud Vault uses now a single mechanism for key-value backend configuration. Properties at spring.cloud.vault.generic.* are no longer supported.

All associated functionality is now solely available by configuring the corresponding spring.cloud.vault.kv.* properties. The support classes GenericSecretBackendMetadata and VaultGenericBackendProperties were removed in favor of KeyValueSecretBackendMetadata respective VaultKeyValueBackendProperties. spring.cloud.vault.kv.enabled is now enabled by default to preserve spring.cloud.vault.generic.enabled behavior.

Closes gh-395
2020-05-20 10:57:33 +02:00
maaaace
0074c804e9 Fix download vault script for arm64 processor
install_vault.sh just download and unzip binary vault for amd64, which cannot be executed
on arm64 architecture processors. Add architecture checking in bash script to support this.

Signed-off-by: maaaace <fuheming@huawei.com>
Original pull request: gh-402.
2020-05-19 16:53:14 +02:00
Mark Paluch
12433c606a Upgrade dependencies
* httpclient 4.5.10 -> 4.5.12
* httpcore 4.4.12 -> 4.4.13
* okhttp3 3.14.4 -> 3.14.9
* bcpkix-jdk15on 1.64 -> 1.65
* google-api-services-iam v1-rev20191010-1.30.3 -> v1-rev20200221-1.30.9
* google-auth-library-oauth2-http 0.18.0 -> 0.20.0

Closes gh-404.
2020-05-19 16:50:15 +02:00
buildmaster
4cc57fb1f4 Bumping versions 2020-04-17 12:00:10 +00:00
buildmaster
36ae7bad94 Going back to snapshots 2020-04-09 23:56:16 +00:00
buildmaster
da3bac8a58 Update SNAPSHOT to 3.0.0.M1 2020-04-09 23:55:07 +00:00
buildmaster
9ac35a3892 Bumping versions 2020-04-03 12:00:12 +00:00
Mark Paluch
efe63feb27 Polishing
Reformat documentation.

See gh-394.
2020-04-02 15:08:53 +02:00
Mark Paluch
5e00bb12c7 Deprecate spring.cloud.vault.generic in favor of spring.cloud.vault.kv
Deprecating properties that used the previous kv backend name "generic" so these can be removed with the next major release.

Closes gh-394.
2020-04-02 15:08:52 +02:00
Mark Paluch
5d0626c6e5 Add integration test for VaultReactiveHealthIndicator
Add test for the reactive health indicator.

See gh-397
2020-04-02 14:34:35 +02:00
Marcin Grzejszczak
f0215b6ed1 Updated docs 2020-04-01 13:44:06 +02:00
Daniel Franco
6d81aaaa78 Update consul to 1.7.2 and vault to 1.3.4.
Original pull request: gh-396.
2020-03-25 09:20:59 +01:00
Mark Paluch
e4c442577f Polishing
Add this for field dereference. Tweak renewal timing for shorter test runtime. Move lifecycle configuration into SecretLeaseContainer bean method.

Closes gh-393.
2020-03-20 14:23:29 +01:00
Spencer Gibb
620b483ddd Use events to initiate ConfigurationProperties refresh in the application context
The ConsulBackendMetadata basically publishes and event on SecretLeaseCreatedEvent and something else does the rebinding

See gh-393
2020-03-20 14:23:27 +01:00
Mark Paluch
8adc95e64e Request rotating tokens for Consul
Extend LeasingSecretBackendMetadata with callback methods before/after registration to add secret rotation listeners for config properties rebinding.

Refactor Consul configuration to use LeasingSecretBackendMetadata and rebind Consul ConfigurationProperties accordingly.

See gh-393
2020-03-20 14:22:53 +01:00
Mark Paluch
754b37d35c Reinstate VaultConfigCassandraTests
Closes gh-380.
2020-03-19 11:34:23 +01:00
buildmaster
87f6771280 Bumping versions 2020-03-10 12:00:11 +00:00
Mark Paluch
9a680bb042 Update quickstart guide
Reflect Spring Cloud Vault perspective of setting up Vault. Add references to config- and bash files.

Closes gh-541.
2020-03-10 10:57:04 +01:00
Mark Paluch
ec74edf12d Upgrade to Spring Vault 2.2.2.RELEASE
Closes gh-388.
2020-02-26 14:02:20 +01:00
Daniel Franco
026305cc4d Update consul version to 1.7.1.
Original pull request: #389.
2020-02-26 13:56:36 +01:00
Mark Paluch
8dca66fb47 Bypass Vault namespace for healthchecks
Apparently sys/init and sys/health are not available from within a namespace.

Closes gh-386.
2020-02-13 09:26:04 +01:00
Ryan Baxter
a042bc88f0 fixing compile errors 2020-02-06 11:01:53 -05:00
Mark Paluch
c65345bb6d Adapt tests to bean overriding rules 2020-02-03 08:54:52 +01:00
Daniel Franco
b6e8b256f2 Upgrade to Vault 1.3.2
Original pull request: gh-383.
2020-01-31 10:57:55 +01:00
Mark Paluch
0671cc85b1 Pass-thru VaultToken obtained from ReactiveSessionManager
We now pass-thru the token obtained from ReactiveSessionManager instead of caching it.
Previously, we used a method reference and the method reference cached the SessionToken Mono instead of requesting a fresh token each time from the session manager.

Closes gh-382.
2020-01-24 15:17:05 +01:00