Commit Graph

117 Commits

Author SHA1 Message Date
Zach Hubbs
f5da0e5a98 Fix password property in example.
* Update spring-cloud-vault.adoc

Updated password property in example to match the spring datasource password

* Fixing the rest of the property examples

Updating all property examples so the password property is mapped to a datasource password property


Original pull request: gh-324.
2019-04-18 10:24:23 +02:00
Spring Operator
c6045f29e8 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

Closes gh-297.
2019-03-21 22:14:53 +02:00
Spring Operator
d7fe6c48a9 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* http://www.puppycrawl.com/dtds/suppressions_1_1.dtd (404) with 1 occurrences migrated to:
  https://www.puppycrawl.com/dtds/suppressions_1_1.dtd ([https](https://www.puppycrawl.com/dtds/suppressions_1_1.dtd) result 404).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://maven.apache.org/xsd/maven-4.0.0.xsd with 9 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 18 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 9 occurrences

Original pull request: gh-296.
2019-03-21 17:07:19 +01:00
Spring Operator
14af952063 URL Cleanup (#289)
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://cloud.spring.io/spring-cloud-vault/ migrated to:
  https://cloud.spring.io/spring-cloud-vault/ ([https](https://cloud.spring.io/spring-cloud-vault/) result 200).
* http://stackoverflow.com/questions/1593051/how-to-programmatically-determine-the-current-checked-out-git-branch migrated to:
  https://stackoverflow.com/questions/1593051/how-to-programmatically-determine-the-current-checked-out-git-branch ([https](https://stackoverflow.com/questions/1593051/how-to-programmatically-determine-the-current-checked-out-git-branch) result 200).
* http://stackoverflow.com/questions/29300806/a-bash-script-to-check-if-a-string-is-present-in-a-comma-separated-list-of-strin migrated to:
  https://stackoverflow.com/questions/29300806/a-bash-script-to-check-if-a-string-is-present-in-a-comma-separated-list-of-strin ([https](https://stackoverflow.com/questions/29300806/a-bash-script-to-check-if-a-string-is-present-in-a-comma-separated-list-of-strin) result 200).
* http://www.apache.org/licenses/LICENSE-2.0 migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
* http://www.spring.io migrated to:
  https://www.spring.io ([https](https://www.spring.io) result 301).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0
* http://maven.apache.org/xsd/maven-4.0.0.xsd
* http://www.w3.org/2001/XMLSchema-instance
2019-03-11 19:09:56 -04:00
Marcin Grzejszczak
07e45b4170 Hoxton 2019-03-08 17:16:20 +01:00
Mark Paluch
8cc67db6eb Polishing.
Add test. Fix expiry threshold configuration. Update documentation. Add author and since tags.

Original pull request: gh-278.
2019-02-13 14:44:50 +01:00
Mark Paluch
8bd35d0535 Bump versions to 2.2.0. 2019-02-13 14:20:18 +01:00
Philipp Trulson
5549b82592 Fix formatting of authentication methods reference documentation.
Original pull request: #280.
2019-02-13 14:13:51 +01:00
Marcin Grzejszczak
9d9776f5c8 Applied checkstyle rules 2019-02-07 11:25:07 +01:00
buildmaster
08f13a4a1e Bumping versions to 2.1.1.BUILD-SNAPSHOT after release 2019-01-22 21:28:20 +00:00
buildmaster
4159e2593a Going back to snapshots 2019-01-22 21:28:20 +00:00
buildmaster
b8f6de1cb2 Update SNAPSHOT to 2.1.0.RELEASE 2019-01-22 21:26:26 +00:00
buildmaster
591caec575 Going back to snapshots 2018-12-12 00:55:14 +00:00
buildmaster
641aeda92a Update SNAPSHOT to 2.1.0.RC1 2018-12-12 00:54:18 +00:00
buildmaster
b3105906c3 Going back to snapshots 2018-11-18 10:21:02 +00:00
buildmaster
e5165f76b5 Update SNAPSHOT to 2.1.0.M2 2018-11-18 10:20:10 +00:00
Mark Paluch
6e2afade1b Add support for GCP authentication.
We now support GCP Compute and GCP IAM authentication.

We also provide different RestTemplate's for Vault and for external service communication.

Closes gh-249.
2018-11-09 16:59:27 +01:00
Mark Paluch
fd77c19ceb Add support for Azure authentication.
Closes gh-250.
2018-11-09 08:57:38 +01:00
Mark Paluch
d413f50f24 Document property to configure Kubernetes auth mount.
Closes gh-258.
2018-11-05 09:22:53 +01:00
buildmaster
0cf346d634 Going back to snapshots 2018-09-24 01:23:06 +00:00
buildmaster
43ff22ef23 Update SNAPSHOT to Greenwich.M1 2018-09-24 01:21:57 +00:00
Mark Paluch
655fcf480d 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
bdb2638e82 Bump versions to 2.1.0.BUILD-SNAPSHOT. 2018-07-02 14:18:33 +02:00
Mark Paluch
f70143d2d4 Document AppRole limitations using reactive configuration.
See gh-222.
2018-07-02 14:16:28 +02:00
buildmaster
adc82dd67a Bumping versions to 2.0.1.BUILD-SNAPSHOT after release 2018-06-19 00:57:59 +00:00
buildmaster
f8ac38ddfc Going back to snapshots 2018-06-19 00:57:58 +00:00
buildmaster
e45eac5d7f Update SNAPSHOT to 2.0.0.RELEASE 2018-06-19 00:56:21 +00:00
Spencer Gibb
a915a79fba Updates boot reference to 2.0.0 2018-06-05 16:16:51 -04:00
buildmaster
ef76330996 Going back to snapshots 2018-05-25 15:17:14 +00:00
buildmaster
a481fb958a Update SNAPSHOT to 2.0.0.RC2 2018-05-25 15:16:14 +00:00
Mark Paluch
165f666141 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
bae45f73f0 Going back to snapshots 2018-04-23 16:20:53 +00:00
buildmaster
13495293b5 Update SNAPSHOT to 2.0.0.RC1 2018-04-23 16:19:50 +00:00
buildmaster
517fbd3b19 Going back to snapshots 2018-02-27 08:21:49 +00:00
buildmaster
3b832c672b Update SNAPSHOT to 2.0.0.M6 2018-02-27 08:19:40 +00:00
buildmaster
0013c34a88 Going back to snapshots 2018-02-09 23:51:18 +00:00
buildmaster
eaa3299aaa Update SNAPSHOT to 2.0.0.M5 2018-02-09 23:50:23 +00:00
Mark Paluch
7c26507a2f 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
750d2c32fc Update docs branches 2017-11-28 12:59:19 -05:00
buildmaster
21da2a172e Going back to snapshots 2017-11-16 23:37:21 +00:00
buildmaster
cd3f42797c Update SNAPSHOT to 2.0.0.M4 2017-11-16 23:36:28 +00:00
Mark Paluch
72bcc6fd32 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
caf07993e3 Document Kubernetes authentication.
Original pull request: gh-178.
Related ticket: gh-173.
2017-11-03 13:31:55 +01:00
buildmaster
cbe972781a Going back to snapshots 2017-10-30 09:08:22 +00:00
buildmaster
a85a299e08 Update SNAPSHOT to 2.0.0.M3 2017-10-30 09:07:42 +00:00
Mark Paluch
08d2a2e4c3 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
9da5e83dc9 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
9cff9eb9ed 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
96ac3ba712 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
8403fb64eb Document how to use Vault's database backend.
See gh-169.
2017-10-20 17:41:39 +02:00