Class CipherEnvironmentEncryptor

java.lang.Object
org.springframework.cloud.config.server.encryption.CipherEnvironmentEncryptor
All Implemented Interfaces:
EnvironmentEncryptor

@Component public class CipherEnvironmentEncryptor extends Object implements EnvironmentEncryptor
EnvironmentEncryptor that can decrypt property values prefixed with {cipher} marker.
Author:
Dave Syer, Bartosz Wojtkiewicz, Rafal Zukowski
  • Constructor Details

    • CipherEnvironmentEncryptor

      @Autowired public CipherEnvironmentEncryptor(TextEncryptorLocator encryptor)
  • Method Details

    • decrypt

      public org.springframework.cloud.config.environment.Environment decrypt(org.springframework.cloud.config.environment.Environment environment)
      Specified by:
      decrypt in interface EnvironmentEncryptor
    • setPrefixInvalidProperties

      public void setPrefixInvalidProperties(boolean prefixInvalidProperties)