Skip to content

Commit 0d35af1

Browse files
committed
Add "Encrypting Properties" documentation
Update the reference documentation with a section about encrypting properties and a link to Spring Cloud Vault. Closes gh-13618
1 parent 1c3987d commit 0d35af1

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,21 @@ details.
650650

651651

652652

653+
[[boot-features-encrypting-properties]]
654+
=== Encrypting Properties
655+
Spring Boot does not provide any built in support for encrypting property values, however,
656+
it does provide the hook points necessary to modify values contained in the Spring
657+
`Environment`. The `EnvironmentPostProcessor` interface allows you to manipulate the
658+
`Environment` before the application starts. See <<howto-customize-the-environment-or-application-context>>
659+
for details.
660+
661+
If you're looking for a secure way to store credentials and passwords, the
662+
https://cloud.spring.io/spring-cloud-vault/[Spring Cloud Vault] project provides
663+
support for storing externalized configuration in
664+
https://www.vaultproject.io/[HashiCorp Vault].
665+
666+
667+
653668
[[boot-features-external-config-yaml]]
654669
=== Using YAML Instead of Properties
655670
http://yaml.org[YAML] is a superset of JSON and, as such, is a convenient format for

0 commit comments

Comments
 (0)