538 Commits

Author SHA1 Message Date
Mark Paluch
999f365976 Release Spring Vault 4.0 M1.
Closes gh-918
2025-06-16 08:50:23 +02:00
Mark Paluch
fa0672fb1b Upgrade to Spring Data 2025.1.0-M3.
Closes gh-921
2025-06-11 11:24:11 +02:00
Mark Paluch
33ab0cd4b8 Upgrade to Jackson 3.
Closes gh-919
2025-06-11 11:24:11 +02:00
Mark Paluch
d01d180d5b Polishing.
Remove GcpIam and AppId leftovers.

See gh-904
2025-05-16 15:30:17 +02:00
Mark Paluch
20a4d0896f Use JSpecify to indicate nullness.
Closes #902
2025-05-16 15:30:17 +02:00
Mark Paluch
ebdeaf0592 Polishing 2025-05-16 15:30:17 +02:00
Mark Paluch
5d138a105e Remove deprecated code.
Removal of AppId, GcpIam authentication and deprecated methods.

Closes #904
2025-05-16 15:30:17 +02:00
Mark Paluch
e4b2fd1eb4 Nullabbility. 2025-05-16 15:30:16 +02:00
Mark Paluch
60561c3051 Upgrade to ValueExpression for secret backend expressions.
See #898
2025-05-16 15:30:16 +02:00
Mark Paluch
bdb8ebacc4 Add support for Reactor, Jetty, and JDK ClientHttpRequestFactory implementations.
Closes #901
2025-05-16 15:30:16 +02:00
Mark Paluch
4d8232c0ee Upgrade to Spring Framework 7.
Adopt to HttpHeaders, upgrade to Spring Data 2025.1.

Closes #898
2025-05-16 15:30:16 +02:00
Mark Paluch
b220444679 Remove OkHttp support.
Closes #900
2025-05-16 15:30:16 +02:00
Mark Paluch
1412f5a80c Prepare next development iteration.
See gh-915
2025-05-16 15:29:36 +02:00
Mark Paluch
15c42fc4df Release Spring Vault 3.2.0.
Closes gh-915
2025-05-16 15:19:23 +02:00
Mark Paluch
2e95e6a587 Prepare next development iteration.
See gh-910
2025-04-25 15:30:14 +02:00
Mark Paluch
769ae89355 Release Spring Vault 3.2.0-M1.
Closes gh-910
2025-04-25 15:29:49 +02:00
Mark Paluch
103ae90d0a Upgrade to Spring Data 2025.0.0-RC1.
Closes #912
2025-04-25 12:13:56 +02:00
Mark Paluch
b430fcb59b Upgrade dependencies.
Closes gh-913
2025-04-25 12:13:56 +02:00
Mark Paluch
b1edafeef0 Log exception when KeyValueDelegate.getMountInfo(…) fails.
Closes gh-888
2025-04-25 11:50:16 +02:00
Mark Paluch
7d19a76244 Refine error handling in MountInfo lookup.
We now do not cache failures caused by VaultException but rather return an unavailable MountInfo.
Also, VaultKeyValueAdapter now throws an exception if the mount info isn't available.

Closes gh-889
2025-04-25 11:47:02 +02:00
Mark Paluch
f1193f4415 Polishing.
Add test for VaultCertificateRequest.otherSans.

See gh-887
2025-04-25 11:18:17 +02:00
Mei Chen
0ae420fa04 Fix otherSans in VaultCertificateRequest.
Closes gh-887
2025-04-25 11:14:14 +02:00
Mark Paluch
6dedcf124b Polishing.
Add since tag.

See gh-907
Original pull request: gh-908
2025-03-05 10:46:15 +01:00
Luciano Canales
a97ea234c6 Configure SimpleClientHttpRequestFactory with timeouts.
Closes gh-907
Original pull request: gh-908

Signed-off-by: Luciano Canales <64669280+ljcanales@users.noreply.github.com>
2025-03-04 09:06:36 +01:00
Mark Paluch
504f93dfa4 Polishing.
Use PropertyMapper to map optional properties. Introduce mutate() method to VaultTransformContext to avoid external copy usage.

Original pull request: gh-897
See gh-894
2025-03-03 15:46:46 +01:00
Roopesh Chandran
596e3b4d79 Add reference support in Transform FPE.
Original pull request: gh-897
Closes gh-894

Signed-off-by: Roopesh Chandran <148393707+rchandran80@users.noreply.github.com>
2025-03-03 15:46:37 +01:00
Max Brauer
51d88751fb Correct error message when failing to unwrap AppRole.
Closes gh-906

Signed-off-by: Max Brauer <mbrauer@vmware.com>
2025-03-03 14:46:35 +01:00
Mark Paluch
ab84cda160 Bump license copyright years to 2025.
Closes #903
2025-02-18 15:05:09 +01:00
Mark Paluch
1cdaa492df Update code to use recent language features.
Closes #881
2024-08-20 15:41:12 +02:00
Mark Paluch
71831e4cf1 Move off deprecated API.
See gh-874
2024-08-07 09:02:26 +02:00
Mark Paluch
ff43ffa1d0 Move off deprecated Base64Utils.
Closes gh-874
2024-08-07 08:45:16 +02:00
dependabot[bot]
56e8e6a29b Bump com.nimbusds:nimbus-jose-jwt
Bumps [com.nimbusds:nimbus-jose-jwt](https://bitbucket.org/connect2id/nimbus-jose-jwt) from 9.30.2 to 9.37.2.
- [Changelog](https://bitbucket.org/connect2id/nimbus-jose-jwt/src/master/CHANGELOG.txt)
- [Commits](https://bitbucket.org/connect2id/nimbus-jose-jwt/branches/compare/9.37.2..9.30.2)

---
updated-dependencies:
- dependency-name: com.nimbusds:nimbus-jose-jwt
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Closes gh-860
2024-06-06 15:32:17 +02:00
Mark Paluch
3d1116b7f0 Polishing.
See gh-857
2024-06-06 15:31:31 +02:00
Mark Paluch
867c56c32c Add expiry Predicate to SecretLeaseContainer to determine whether a Lease is expired.
Closes gh-809
2024-06-06 15:31:20 +02:00
Mark Paluch
9fd2e6034a Fix Certificate.of(…) factory method retaining the private key.
Closes gh-857
2024-06-06 14:59:15 +02:00
Mark Paluch
14626b1ba1 Resume lease renewal after restart.
Secret renewals are resumed after restarting secrets by re-registering LeaseRenewalScheduler.

Also, guard concurrent renewals that might have been in progress while the renewal scheduler has been in progress.

Closes gh-867
2024-06-06 14:55:53 +02:00
Mark Paluch
114f944faa Polishing.
Refactor AuthenticationSteps creation into static factory method.

Extend tests, add documentation.

See gh-821
Original pull request: gh-853
2024-06-06 12:08:39 +02:00
Nanne Baars
fdcab61e3a Add GitHub authentication.
Closes gh-821
Original pull request: gh-853
2024-06-06 12:08:32 +02:00
Mark Paluch
af060ac44f Default to IMDSv2 for AWS-EC2 metadata retrieval.
See gh-865
2024-06-06 09:58:28 +02:00
Mark Paluch
dac9e36c37 Add support for IMDSv2 on EC2 instances.
Closes gh-865
2024-06-06 09:51:58 +02:00
Mark Paluch
3cf4e01f84 Polishing.
Configure ResponseTimeout for a Request, move off deprecated API by always configuring a PoolingHttpClientConnectionManager.

See gh-861
Original pull request: gh-866
2024-05-16 16:02:06 +02:00
Nurlan Turdaliev
579b8d63d7 Apply read timeout to http-components request factory.
Closes gh-861
Original pull request: gh-866
2024-05-16 16:01:44 +02:00
Mark Paluch
74ff3b648d Upgrade to Logback 1.4.14.
Closes #840
2024-01-12 14:09:15 +01:00
Mark Paluch
5427861514 Extend copyright license headers to 2024.
Closes #851
2024-01-12 13:59:06 +01:00
Mark Paluch
27a755851e Fix Lease revocation on SecretLeaseContainer destroy.
Closes gh-844
2023-12-27 16:13:55 +01:00
Mark Paluch
06278e1a16 Prepare next development iteration.
See gh-838
2023-11-24 11:15:41 +01:00
Mark Paluch
c482d7d026 Release Spring Vault 3.1.0.
Closes gh-838
2023-11-24 11:14:29 +01:00
Mark Paluch
cdb687e4ba Polishing.
Avoid concurrent result reordering in tests.

See #837
2023-11-20 17:03:34 +01:00
Mark Paluch
e8b4e4236f Consistently use Instant for next trigger computation.
Deprecate Date-based variant.

Closes gh-831
2023-11-01 16:39:29 +01:00
Mark Paluch
95381f3654 Upgrade to Vault 1.15.
Closes gh-830
2023-11-01 16:16:36 +01:00