From 6bd1b5a37bd55c1a3cf0b526514b2babc4a07733 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20Teglhus=20M=C3=B8ller?= Date: Fri, 13 Dec 2019 14:15:26 +0100 Subject: [PATCH] Typo: Decrpyting -> Decrypting (#1521) --- docs/src/main/asciidoc/spring-cloud-config.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/main/asciidoc/spring-cloud-config.adoc b/docs/src/main/asciidoc/spring-cloud-config.adoc index 52175f9c..2a816fd3 100644 --- a/docs/src/main/asciidoc/spring-cloud-config.adoc +++ b/docs/src/main/asciidoc/spring-cloud-config.adoc @@ -1335,11 +1335,11 @@ So, if you want a profile-specific file, `/\*/development/*/logback.xml` can be NOTE: If you do not want to supply the `label` and let the server use the default label, you can supply a `useDefaultLabel` request parameter. So, the preceding example for the `default` profile could be `/foo/default/nginx.conf?useDefaultLabel`. -=== Decrpyting Plain Text +=== Decrypting Plain Text By default, encrypted values in plain text files are not decrypted. In order to enable decryption for plain text files, set `spring.cloud.config.server.encrypt.enabled=true` and `spring.cloud.config.server.encrypt.plainTextEncrypt=true` in `bootstrap.[yml|properties]` -NOTE: Decrpyting plain text files is only supported for YAML, JSON, and properties file extensions. +NOTE: Decrypting plain text files is only supported for YAML, JSON, and properties file extensions. If this feature is enabled, and an unsupported file extention is requested, any encrypted values in the file will not be decrypted.