Commit Graph

126 Commits

Author SHA1 Message Date
Spencer Gibb
84d44e3a64 Antora migration (#702)
* Migrate Structure

* Insert explicit ids for headers

* Remove unnecessary asciidoc attributes

* Copy default antora files

* Fix indentation for all pages

* Generate a default navigation

* Remove includes

* Fix cross references

* Enable Section Summary TOC for small pages

* Additional antora migration
2023-09-14 16:29:47 -04:00
buildmaster
0cd6ee5f44 Bumping versions 2023-03-28 17:50:45 +00:00
Mark Paluch
b3cfc04375 Add support to configure AWS IAM region.
Closes gh-681.
2023-03-28 11:33:34 +02:00
Mark Paluch
b0315e97a2 Revise bootstrap context guidance.
Closes gh-662
2023-03-02 14:10:27 +01:00
Mark Paluch
b132a25592 Polishing.
Update documentation regarding Config Data API customization.

See gh-662
2023-03-02 14:09:03 +01:00
buildmaster
92d67332ec Bumping versions 2023-02-08 17:59:09 +00:00
Mark Paluch
9e1d68b2e3 Revisit AppRole documentation matrix.
Closes gh-652
2022-08-23 10:45:15 +02:00
buildmaster
82884c3b35 Bumping versions 2022-06-30 18:04:37 +00:00
Mark Paluch
39b9e57dba Build against Spring Vault 3.0 snapshots
See gh-644
2022-05-20 12:07:23 +02:00
Mark Paluch
43e89b2975 Polishing.
Introduce VaultSecretBackendDescriptorFactory as abstraction for descriptor factories that can produce multiple SecretBackendDescriptors. Consider VaultSecretBackendDescriptorFactory in Boostrap and Config Data API mechanisms. Add tests.

Original pull request: gh-587
See gh-459
2021-11-24 09:38:11 +01:00
buildmaster
6651c842e8 Bumping versions 2021-11-23 02:00:42 +00:00
Mark Paluch
94ac42f48f Restore changes to readme.
Closes gh-623.
2021-11-22 14:22:12 +01:00
Mark Paluch
18bf2eb63a Polishing.
Simplify file read. Add tests.

See gh-609
Original pull request: gh-614
2021-10-04 09:08:20 +02:00
Brant
a588534dfe Allow fallback to ~/.vault-token file using Token authentication.
This assists in usability of spring cloud vault locally after authenticating to vault via the vault CLI.

Closes gh-609
Original pull request: gh-614
2021-10-04 09:08:20 +02:00
Mark Paluch
80e3de4945 Polishing.
Add author tags. Let VaultConfigLocation accept PropertyTransformer. Extract prefix computation into its own method. Tweak documentation wording.

See gh-488
Original pull request: gh-582.
2021-06-18 10:41:30 +02:00
Jeffrey van der Laan
6505bde94d Add support for key prefixes in vault paths.
See gh-488
Original pull request: gh-582.
2021-06-18 10:41:30 +02:00
Mark Paluch
6e03afbed0 Refine support for optional Vault config locations.
We now propagate the optional config location flag to the config data infrastructure. Also, the check whether Vault is enabled is moved from the resolver into the loader returning null if Vault support is enabled. This allows Spring Boot to skip optional config data locations.

Closes gh-571
2021-06-07 16:07:17 +02:00
Mark Paluch
e337be70e1 Add ability to configure client TLS enabled protocol versions and cipher suites via Spring properties.
Closes gh-581.
2021-03-16 16:13:37 +01:00
Mark Paluch
f596d2c55c Document paths and operations for SecretLeaseContainer and Session management for ACL setup.
Closes gh-561
2021-03-16 14:53:20 +01:00
buildmaster
cf4201276a Bumping versions 2021-03-11 12:00:28 +00:00
Mark Paluch
fb8ad234d7 Hello 2021. 2021-03-11 11:42:09 +01:00
krisiye
a7565ef285 Add support for AWS STS credential types.
We now support assumed role and federation tokens.

Closes gh-572
Original pull request gh-575.
2021-03-11 11:01:45 +01:00
Olga Maciaszek-Sharma
b2363b2c3d Add info on spring.config.import to docs.
Original pull request: gh-578.
2021-03-03 14:07:03 +01:00
buildmaster
4732586274 Bumping versions 2020-11-19 12:00:09 +00:00
buildmaster
beb9d45107 Bumping versions 2020-11-17 12:00:48 +00:00
buildmaster
fdec26144b Bumping versions 2020-09-25 12:00:26 +00:00
Mark Paluch
3349c814a2 Polishing
Switch AwsEc2Properties.identityDocument to URI. Reorder property accessors. Tweak documentation formatting.

Original pull request: gh-495.
Resolves gh-451.
2020-09-24 14:25:18 +02:00
infa-szhong
f95fea8e92 Make Azure auth metadata URIs configurable
Original pull request: gh-495
See gh-451
2020-09-24 14:23:22 +02:00
buildmaster
57d6643e32 Bumping versions 2020-09-24 12:00:58 +00:00
Mark Paluch
9b5ea83918 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
f44a525dff 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
6b999e5c38 Bumping versions 2020-09-21 12:00:21 +00:00
Mark Paluch
a60c51907c 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
7a2742cfbc Add support for Couchbase through vault-plugin-database-couchbase
Original pull request: gh-408.
2020-09-21 13:53:30 +02:00
Mark Paluch
e1e15030f4 Refine documentation
Include common config properties. Add what's new section.

See gh-483
2020-09-21 10:04:24 +02:00
Mark Paluch
fe9caa58f9 Update documentation for ConfigData
See gh-483
2020-09-21 09:47:15 +02:00
Mark Paluch
2e4bf3d0cd 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
254342bb73 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
Mark Paluch
68d9f7bc58 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
701ad55632 Polishing
Fiy typos, improve wording.

See gh-392.
2020-05-20 14:53:38 +02:00
Mark Paluch
0ea68bad57 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
0f7b9ec7fc 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
Mark Paluch
33110972ea Polishing
Reformat documentation.

See gh-394.
2020-04-02 15:08:53 +02:00
Mark Paluch
28f4399076 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
cef1a53870 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
49aee4cf51 Allow disabling authentication for Vault Agent use
We now allow disabling Spring Vault's ClientAuthentication and SessionManagement features to rely on authenticated requests sent by Vault Agent. The authentication infrastructure can be disabled via:

spring.cloud.vault:
    authentication: NONE

Closes gh-356.
2020-01-13 12:08:15 +01:00
Mark Paluch
11e940d975 Use project-version placeholder in documentation.
Closes gh-370.
2019-11-14 16:00:56 +01:00
Raoof Mohammed
7376b03c7e Fix azure-msi default mount path in reference documentation
Closes gh-369.
2019-11-14 15:56:08 +01:00
zhogov
e0700bbf10 Fix documentation for GCP-IAM.
As per [VaultProperties](c0b958f598/spring-cloud-vault-config/src/main/java/org/springframework/cloud/vault/config/VaultProperties.java (L741))

Original pull request: gh-358.
2019-09-27 08:50:57 +02:00
Mark Paluch
c0b958f598 Add X-Vault-Namespace Support.
We now support Vault namespaces by setting the spring.cloud.vault.namespace property.

Closes gh-259
2019-09-09 15:21:58 +02:00