527 Commits

Author SHA1 Message Date
Mark Paluch
885f8aaa84 Document relative and absolute Vault path behavior.
Closes gh-926
2025-06-17 11:24:21 +02:00
Mark Paluch
9ee9d8d0d5 Prepare next development iteration.
See gh-915
2025-05-16 15:31: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
Mark Paluch
269a8e128e Polishing.
Reorder methods. Reformat code. Add since tags. Convert revocation timestamp into instant.

See: gh-477
Original pull request: gh-820
2023-11-01 16:14:12 +01:00
Nanne Baars
8d7292c049 Add notAfter and userIds to the certificate request.
Closes: gh-477
Original pull request: gh-820
2023-11-01 16:13:33 +01:00
Mark Paluch
f01bf33c4c Prepare for next development iteration.
See gh-824
2023-10-23 11:21:19 +02:00
Mark Paluch
c6c9913786 Release Spring Vault 3.1.0-RC1.
Closes gh-824
2023-10-23 11:21:01 +02:00
Mark Paluch
3e0820d1a4 Polishing.
Move off deprecated API.

See gh-829
2023-10-23 11:06:03 +02:00
Mark Paluch
af1f9a40e7 Refine VaultResponseSupport metadata copying.
Replace static copy method with an instance method.

Closes gh-823
2023-10-17 09:43:03 +02:00
Mark Paluch
f42bd967c5 Polishing.
Add since and author tags. Reorder fields.

Introduce empty VaultTokenRequest and refactor interface methods to default methods for delegation on the interface level.

See gh-690
Original pull request: gh-803
2023-10-16 15:59:05 +02:00
Nanne Baars
e3261c6165 Support role_name and entity_alias while creating a token.
Closes: gh-690
Original pull request: gh-803
2023-10-16 15:58:59 +02:00
Mark Paluch
d8a7b05cc2 Polishing.
Add since and author tags. Remove unused imports. Reorder methods.

See gh-745
Original pull request: gh-791
2023-10-16 14:48:30 +02:00
Nanne Baars
253e8665d4 Support prehashed for the Transit engine.
Closes gh-745
Original pull request: gh-791
2023-10-16 14:48:18 +02:00
Mark Paluch
196d3c7470 Polishing.
Extract method to avoid code duplications.

Add author and since tags. Add reactive batch rewrap support.

See: gh-687
Original pull request: gh-819
2023-10-16 14:33:51 +02:00