Commit Graph

96 Commits

Author SHA1 Message Date
Mark Paluch
a8e26e72e1 Polishing.
Update documentation to Spring Boot 2.x to reflect health endpoint configuration.

Original pull request: gh-238.
2018-09-03 13:58:52 +02:00
Mark Paluch
247f45a0c5 Bump versions to 2.1.0.BUILD-SNAPSHOT. 2018-07-02 14:18:33 +02:00
Mark Paluch
a9146e6808 Document AppRole limitations using reactive configuration.
See gh-222.
2018-07-02 14:16:28 +02:00
buildmaster
30cc62144d Bumping versions to 2.0.1.BUILD-SNAPSHOT after release 2018-06-19 00:57:59 +00:00
buildmaster
55f9129248 Going back to snapshots 2018-06-19 00:57:58 +00:00
buildmaster
77826146c1 Update SNAPSHOT to 2.0.0.RELEASE 2018-06-19 00:56:21 +00:00
Spencer Gibb
4b14e6dc34 Updates boot reference to 2.0.0 2018-06-05 16:16:51 -04:00
buildmaster
705659d677 Going back to snapshots 2018-05-25 15:17:14 +00:00
buildmaster
7cac6615d2 Update SNAPSHOT to 2.0.0.RC2 2018-05-25 15:16:14 +00:00
Mark Paluch
8c297dc667 Add versioned key-value backend support.
We now provide configuration support for the versioned key-value backend introduced with Vault 0.10.0. This backend uses configuration properties prefixed with spring.cloud.vault.kv and defaults to the secret mount path. It resembles configuration properties from the generic secret backend. Using the versioned key-value backend requires disabling the generic secret backend (spring.cloud.vault.generic.enabled=false).

The versioned key-value backend can be configured programmatically through SecretBackendConfigurer.add(KeyValueSecretBackendMetadata.create(…)) which will add data path segments and unwrap nested data elements from the response.

See gh-209.
2018-04-24 16:49:04 +02:00
buildmaster
773874d77c Going back to snapshots 2018-04-23 16:20:53 +00:00
buildmaster
c0977d7675 Update SNAPSHOT to 2.0.0.RC1 2018-04-23 16:19:50 +00:00
buildmaster
dab5888372 Going back to snapshots 2018-02-27 08:21:49 +00:00
buildmaster
cfed33d3ca Update SNAPSHOT to 2.0.0.M6 2018-02-27 08:19:40 +00:00
buildmaster
c3048a1189 Going back to snapshots 2018-02-09 23:51:18 +00:00
buildmaster
f6b012b3d9 Update SNAPSHOT to 2.0.0.M5 2018-02-09 23:50:23 +00:00
Mark Paluch
60b42d4233 Adapt to AppRole authentication modes in Spring Vault.
We now support a selected subset of push/pull/wrapped RoleId and SecretId combinations using AppRoleAuthentication:

* Provided RoleId/SecretId
* Provided RoleId without SecretId
* Provided RoleId, Pull SecretId
* Pull RoleId, provided SecretId
* Full pull mode
* Wrapped
* Wrapped RoleId, provided SecretId
* Provided RoleId, wrapped SecretId

The particular mode is derived from role-id, secret-id, role (name) and token properties beneath spring.cloud.vault.*.

Closes gh-174.
2018-02-06 13:35:00 +01:00
Spencer Gibb
ba1c058925 Update docs branches 2017-11-28 12:59:19 -05:00
buildmaster
4450cedebd Going back to snapshots 2017-11-16 23:37:21 +00:00
buildmaster
895c894b20 Update SNAPSHOT to 2.0.0.M4 2017-11-16 23:36:28 +00:00
Mark Paluch
18e0b9fa2d Polishing.
Slightly rewording. Remove parts that would duplicate Kubernetes/Vault reference docs.

Original pull request: gh-178.
Related ticket: gh-173.
Closes gh-178.
2017-11-03 13:31:55 +01:00
Michal Budzyn
bc21219039 Document Kubernetes authentication.
Original pull request: gh-178.
Related ticket: gh-173.
2017-11-03 13:31:55 +01:00
buildmaster
923ef1e851 Going back to snapshots 2017-10-30 09:08:22 +00:00
buildmaster
5a7696df09 Update SNAPSHOT to 2.0.0.M3 2017-10-30 09:07:42 +00:00
Mark Paluch
a058a6d1c8 Polishing.
Convert spaces to tabs. Deprecate VaultPostgreSqlProperties and VaultMySqlProperties. Convert database integration test to use MySQL. Slightly reword reference documentation.

Upgrade lombok to 1.16.18 to use onMethod_ attributes.

Original pull request: gh-170.
Related ticket: gh-169.
2017-10-27 11:41:59 +02:00
Per Abich
74dadf5207 Add support for Vault's database backend.
We now support Vault's database backend directly. MySQL and PostgreSQL configuration properties are deprecated now in favor of spring.cloud.vault.database. Cassandra and MongoDB backends remain active and default to their deprecated backends to support multi-database configuration of multiple, various database types.

spring.cloud.vault:
    database:
        enabled: true
        role: readonly

Original pull request: gh-170.
Related ticket: gh-169.
2017-10-27 11:41:43 +02:00
Mark Paluch
54fe1fb2c3 Polishing.
Rename vault-role configuration property to role for a consistent naming. Introduce path and server-name config properties. Eagerly fetch AWS credentials to fail early if credentials cannot be obtained. Fix properties in reference docs. Javadoc, reference docs wording. Add author tags. Re-generate readme.

Original pull request: gh-175.
See gh-134.
2017-10-27 10:48:38 +02:00
Kevin Holditch
dd4f8d44bf Add support for AWS IAM authentication.
We now support configuration of AWS IAM using AWS' default credential provider chain to obtain credentials from the environment/system properties/credentials profile/ECS/EC2 metadata service.

spring.cloud.vault:
    authentication: AWS_IAM

Original pull request: gh-175.
Closes gh-134.
2017-10-27 10:47:58 +02:00
Mark Paluch
6276902b72 Document how to use Vault's database backend.
See gh-169.
2017-10-20 17:41:39 +02:00
Marcin Grzejszczak
1b675b51d4 Referrencing resources from sc-build 2017-09-01 08:32:40 +02:00
Marcin Grzejszczak
efa00893c6 Updated whitelist 2017-08-29 15:29:48 +02:00
Marcin Grzejszczak
7ca1711f32 Migrated to new docs; fixes #150 2017-08-29 15:29:12 +02:00
Mark Paluch
eb2f4a98b5 [maven-release-plugin] prepare for next development iteration 2017-08-24 09:24:41 +02:00
Mark Paluch
3feab445a6 [maven-release-plugin] prepare release v2.0.0.M2 2017-08-24 08:58:13 +02:00
Mark Paluch
4a471531b1 Allow Vault server lookup via DiscoveryClient.
We now support Vault server lookup using service registries via DiscoveryClient. Vault server is looked up during the bootstrap phase and configured by serviceId rather than host/port when enabling service discovery.

Closes gh-132.
2017-07-24 13:42:54 +02:00
Mark Paluch
8dab1719b9 [maven-release-plugin] prepare for next development iteration 2017-06-29 16:03:00 +02:00
Mark Paluch
d2150f6c22 [maven-release-plugin] prepare release 2.0.0.M1 2017-06-29 16:03:00 +02:00
Mark Paluch
1c76534b16 Setup 2.0 development.
Closes gh-127.
2017-06-29 14:30:18 +02:00
Mark Paluch
4b1f80e1dd Update documentation.
Closes gh-125.
2017-06-16 21:01:26 +02:00
Mark Paluch
8c16238809 Allow specifying a Vault URI.
Closes gh-115.
2017-05-27 23:41:06 +02:00
Mark Paluch
2fe14c2a7b Allow configuration of PropertySourceLocator behavior.
We now support configuration of PropertySourceLocator behavior of generic and discovered secret backends. We introduced VaultConfigurer as strategy interface to be implemented by customizer beans in the bootstrap context. VaultConfigurer allows configuration of secret backends via SecretBackendConfigurer.

Motivation: Customization was only possible by implementing an own PropertySourceLocator by extending VaultPropertySourceLocatorSupport and implementing doCreatePropertySources. Both is non-trivial and does not allow reuse of existing functionality.

See gh-116.
2017-05-22 19:36:24 +02:00
Mark Paluch
81b510edb6 Allow configuration of AWS-EC2 nonce.
We now support static configuration of the AWS-EC2 authentication nonce to support re-login on application crashes/vm-internal restarts.

Closes gh-103.
2017-05-11 17:04:50 +02:00
Mark Paluch
494f16841c Fix reference docs links. 2017-05-09 21:34:00 +02:00
Mark Paluch
8b850f27e4 Updated docs
See gh-99.
2017-04-18 11:14:17 +02:00
Marcin Grzejszczak
379eaf7207 Updated docs 2017-04-18 10:28:49 +02:00
Mark Paluch
ac007b7914 Add revision/date to reference docs. 2017-04-10 20:34:04 +02:00
Mark Paluch
c998378bb9 Going back to snapshots 2017-04-10 20:18:30 +02:00
Mark Paluch
47ce37b724 Update SNAPSHOT to 1.0.0.RELEASE 2017-04-10 20:06:46 +02:00
Mark Paluch
69af77a7f1 Adapt to changed GitHub repository name.
Adapt changed GitHub repository name in pom.xml and documentation.

See gh-92.
2017-03-31 12:48:09 +02:00
Mark Paluch
7ed152f295 Polishing.
Fix HashiCorp lettercasing in Readme.
2017-03-31 12:32:49 +02:00