Class VaultEnvironmentPostProcessor

java.lang.Object
com.oracle.cloud.spring.vault.VaultEnvironmentPostProcessor
All Implemented Interfaces:
org.springframework.boot.EnvironmentPostProcessor, org.springframework.core.Ordered

public class VaultEnvironmentPostProcessor extends Object implements org.springframework.boot.EnvironmentPostProcessor, org.springframework.core.Ordered
Injects a VaultPropertySource for each OCI Vault property source specified in the application properties. OCI Vault property sources will only be loaded if all of:
  • The com.oracle.cloud.spring.vault.VaultTemplate class is on the classpath
  • The spring.cloud.oci.vault.enabled property is not set to anything other than true
  • The spring.cloud.oci.vault.property-sources property is not absent/empty
  • Constructor Details

    • VaultEnvironmentPostProcessor

      public VaultEnvironmentPostProcessor()
  • Method Details

    • postProcessEnvironment

      public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application)
      Specified by:
      postProcessEnvironment in interface org.springframework.boot.EnvironmentPostProcessor
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered