Class ConjurPropertySource


  • public class ConjurPropertySource
    extends org.springframework.core.env.EnumerablePropertySource<Object>
    This class resolves the secret value for give vault path at application load time from the conjur vault.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource

        org.springframework.core.env.PropertySource.StubPropertySource
    • Field Summary

      • Fields inherited from class org.springframework.core.env.PropertySource

        logger, name, source
    • Method Detail

      • getPropertyNames

        public String[] getPropertyNames()
        Specified by:
        getPropertyNames in class org.springframework.core.env.EnumerablePropertySource<Object>
      • getProperty

        public Object getProperty​(String key)
        Method which resolves @value annotation queries and return result in the form of byte array.
        Specified by:
        getProperty in class org.springframework.core.env.PropertySource<Object>
      • setSecretsApi

        public void setSecretsApi​(com.cyberark.conjur.sdk.endpoint.SecretsApi secretsApi)
        To set the secert api value
        Parameters:
        secretsApi -