Class VaultConfigLocation


  • public class VaultConfigLocation
    extends org.springframework.boot.context.config.ConfigDataResource
    Vault-specific implementation for a ConfigDataLocation. Consists of a SecretBackendMetadata.
    Since:
    3.0
    Author:
    Mark Paluch
    See Also:
    SecretBackendMetadata
    • Constructor Detail

      • VaultConfigLocation

        public VaultConfigLocation​(String contextPath,
                                   boolean optional)
        Create a new VaultConfigLocation instance.
        Parameters:
        contextPath - the context path
        optional - if the resource is optional
      • VaultConfigLocation

        public VaultConfigLocation​(String contextPath,
                                   org.springframework.vault.core.util.PropertyTransformer propertyTransformer,
                                   boolean optional)
        Create a new VaultConfigLocation instance.
        Parameters:
        contextPath - the context path
        propertyTransformer - the property transformer
        optional - if the resource is optional
        Since:
        3.0.4
      • VaultConfigLocation

        public VaultConfigLocation​(SecretBackendMetadata secretBackendMetadata,
                                   boolean optional)
        Create a new VaultConfigLocation instance.
        Parameters:
        secretBackendMetadata - the backend descriptor.
        optional - if the resource is optional