From 0d35af1813f8fa447f8d96695f054b990bb09625 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Thu, 11 Oct 2018 16:03:42 -0700 Subject: [PATCH] Add "Encrypting Properties" documentation Update the reference documentation with a section about encrypting properties and a link to Spring Cloud Vault. Closes gh-13618 --- .../src/main/asciidoc/spring-boot-features.adoc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 471711b5b2..1896bda8f9 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -650,6 +650,21 @@ details. +[[boot-features-encrypting-properties]] +=== Encrypting Properties +Spring Boot does not provide any built in support for encrypting property values, however, +it does provide the hook points necessary to modify values contained in the Spring +`Environment`. The `EnvironmentPostProcessor` interface allows you to manipulate the +`Environment` before the application starts. See <> +for details. + +If you're looking for a secure way to store credentials and passwords, the +https://cloud.spring.io/spring-cloud-vault/[Spring Cloud Vault] project provides +support for storing externalized configuration in +https://www.vaultproject.io/[HashiCorp Vault]. + + + [[boot-features-external-config-yaml]] === Using YAML Instead of Properties http://yaml.org[YAML] is a superset of JSON and, as such, is a convenient format for