Commit Graph

499 Commits

Author SHA1 Message Date
infa-szhong
224ae41d1b Make Azure auth metadata URIs configurable
Original pull request: gh-495
See gh-451
2020-09-24 14:23:22 +02:00
buildmaster
4ee35edc6c Bumping versions 2020-09-24 12:00:58 +00:00
Mark Paluch
7c231daddb Add support for ReactiveDiscoveryClient
ReactiveDiscoveryClient beans are now used to configure ReactiveVaultEndpointProvider. If no ReactiveDiscoveryClient is available, then VaultEndpointProvider gets adapted by offloading the call to a worker Scheduler to avoid blocking calls on the calling thread.

Resolves gh-486.
2020-09-24 12:35:19 +02:00
Mark Paluch
17aa58d66e Polishing
Replace VaultRabbitMqProperties bean with @EnableConfigurationProperties(VaultRabbitMqProperties.class).

See gh-494.
2020-09-24 11:44:04 +02:00
Mark Paluch
dcd91e200f Annotate API with Spring's @NonNullApi/@Nullable to indicate null/non-null rules
Closes gh-494.
2020-09-24 11:43:31 +02:00
Mark Paluch
59bacc6b73 Allow for configurable keystore / truststore type in ssl options
We've introduced two new configuration properties (spring.cloud.vault.ssl.key-store-type=…/spring.cloud.vault.ssl.trust-store-type=…) to configure the keystore type including PEM support.

Resolves gh-387.
2020-09-24 11:08:04 +02:00
buildmaster
ca98a10fd5 Bumping versions 2020-09-21 12:00:21 +00:00
Mark Paluch
2ce4f23d0d Polishing 2020-09-21 13:56:31 +02:00
Mark Paluch
c65ac19eb7 Polishing
Fix property names to spring.couchbase instead of spring.data.couchbase. Fix VaultConfigCouchbaseTests to make it work with Couchbase instead of using Cassandra.

Add CouchbaseSecretIntegrationTests to verify interaction through VaultConfigTemplate. Remove property overrides for username/password so that Vault PropertySources are used. Use unique role name to avoid clashes with other tests.

Enable VaultConfigCouchbaseDatabaseTests for ConfigData API by importing vault://. Update reference documentation.

Resolves gh-408.
2020-09-21 13:54:24 +02:00
fhitchen@gmail.com
9161d58cef Add support for Couchbase through vault-plugin-database-couchbase
Original pull request: gh-408.
2020-09-21 13:53:30 +02:00
nurinamu
6cc626c884 Fix typo in ClientAuthenticationFactory exception message
See gh-477.
2020-09-21 10:09:22 +02:00
dependabot-preview[bot]
4e0d031a35 Bump aws-java-sdk-core from 1.11.838 to 1.11.865
Bumps [aws-java-sdk-core](https://github.com/aws/aws-sdk-java) from 1.11.838 to 1.11.865.
- [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.838...1.11.865)

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-489
2020-09-21 10:08:25 +02:00
dependabot-preview[bot]
0a0e8242be Bump google-api-services-iam
Bumps google-api-services-iam from v1-rev20200221-1.30.9 to v1-rev20200910-1.30.10.

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-480
2020-09-21 10:08:01 +02:00
dependabot-preview[bot]
3f16c9191a Bump jacoco-maven-plugin from 0.8.5 to 0.8.6
Bumps [jacoco-maven-plugin](https://github.com/jacoco/jacoco) from 0.8.5 to 0.8.6.
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.5...v0.8.6)

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-479
2020-09-21 10:07:07 +02:00
dependabot-preview[bot]
10ebef32be Bump assertj-core from 3.16.1 to 3.17.2
Bumps [assertj-core](https://github.com/joel-costigliola/assertj-core) from 3.16.1 to 3.17.2.
- [Release notes](https://github.com/joel-costigliola/assertj-core/releases)
- [Commits](https://github.com/joel-costigliola/assertj-core/compare/assertj-core-3.16.1...assertj-core-3.17.2)

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-470
2020-09-21 10:06:54 +02:00
dependabot-preview[bot]
d51fcd2f6f Bump flatten-maven-plugin from 1.1.0 to 1.2.5
Bumps [flatten-maven-plugin](https://github.com/mojohaus/flatten-maven-plugin) from 1.1.0 to 1.2.5.
- [Release notes](https://github.com/mojohaus/flatten-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/flatten-maven-plugin/compare/flatten-maven-plugin-1.1.0...flatten-maven-plugin-1.2.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-447
2020-09-21 10:06:35 +02:00
dependabot-preview[bot]
e26ffa1bb0 Bump google-auth-library-oauth2-http from 0.20.0 to 0.21.1
Bumps google-auth-library-oauth2-http from 0.20.0 to 0.21.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-440
2020-09-21 10:06:19 +02:00
dependabot-preview[bot]
39099a3173 Bump maven-surefire-plugin from 2.21.0 to 2.22.2
Bumps [maven-surefire-plugin](https://github.com/apache/maven-surefire) from 2.21.0 to 2.22.2.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-2.21.0...surefire-2.22.2)

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-439
2020-09-21 10:06:03 +02:00
dependabot-preview[bot]
08714f5fd5 Bump maven-jar-plugin from 3.1.0 to 3.2.0
Bumps [maven-jar-plugin](https://github.com/apache/maven-jar-plugin) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/apache/maven-jar-plugin/releases)
- [Commits](https://github.com/apache/maven-jar-plugin/compare/maven-jar-plugin-3.1.0...maven-jar-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-437.
2020-09-21 10:05:14 +02:00
Mark Paluch
b8a821d76e Refine documentation
Include common config properties. Add what's new section.

See gh-483
2020-09-21 10:04:24 +02:00
Mark Paluch
d450011d1f Update documentation for ConfigData
See gh-483
2020-09-21 09:47:15 +02:00
Mark Paluch
88778f2b25 Introduce AutoConfiguration classes for Vault
See gh-483
2020-09-21 09:47:13 +02:00
Mark Paluch
12bbc1e438 Extract bean instance creation into VaultConfiguration and VaultReactiveAutoConfiguration
See gh-483
2020-09-21 09:47:11 +02:00
Mark Paluch
23abe11ced Remove Bootstrap context marker class from classpath
See gh-483
2020-09-21 09:47:07 +02:00
Mark Paluch
1de0318c0a Introduce AutoConfiguration variants
See gh-483
2020-09-21 09:47:01 +02:00
Mark Paluch
c6e81750a9 Add Vault implementation for ConfigDataResolver and ConfigDataLoader
Discover SecretBackendMetadataFactory and VaultSecretBackendDescriptor using spring.factories. Add instance suppliers for all imperative support classes.

Resolves gh-483.
2020-09-21 09:46:48 +02:00
Mark Paluch
12a8fe5ecb Expose RestTemplateFactory and WebClientFactory
We're now exposing vaulRestTemplateFactory and vaultWebClientFactory that allow construction of RestTemplate respective WebClient with Spring Vault's customizations applied.

Closes gh-401.
2020-09-17 12:06:50 +02:00
Mark Paluch
9a36c30883 Polishing
Reformat code using new formatter Settings.

See gh-482.
2020-09-17 11:28:42 +02:00
Mark Paluch
76ea833a7b Upgrade to Spring Vault 2.3.0 M1
Closes gh-482.
2020-09-17 11:28:06 +02:00
Mark Paluch
3f381d4b01 Introduce configuration properties for session lifecycle management
We now provide configuration properties to configure session token renewal, especially renewal and expiry thresholds.

spring.cloud.vault:
    session.lifecycle:
        enabled: true
        refresh-before-expiry: 10s
        expiry-threshold: 20s

Closes gh-400.
2020-08-11 17:07:37 +02:00
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