Class AppConfigurationPropertySourceLocator

  • All Implemented Interfaces:
    org.springframework.cloud.bootstrap.config.PropertySourceLocator

    public final class AppConfigurationPropertySourceLocator
    extends Object
    implements org.springframework.cloud.bootstrap.config.PropertySourceLocator
    Locates Azure App Configuration Property Sources.
    • Constructor Detail

      • AppConfigurationPropertySourceLocator

        public AppConfigurationPropertySourceLocator​(AppConfigurationProperties properties,
                                                     AppConfigurationProviderProperties appProperties,
                                                     ClientStore clients,
                                                     KeyVaultCredentialProvider keyVaultCredentialProvider,
                                                     SecretClientBuilderSetup keyVaultClientProvider,
                                                     KeyVaultSecretProvider keyVaultSecretProvider)
        Loads all Azure App Configuration Property Sources configured.
        Parameters:
        properties - Configurations for stores to be loaded.
        appProperties - Configurations for the library.
        clients - Clients for connecting to Azure App Configuration.
        keyVaultCredentialProvider - optional provider for Key Vault Credentials
        keyVaultClientProvider - optional provider for modifying the Key Vault Client
        keyVaultSecretProvider - optional provider for loading secrets instead of connecting to Key Vault
    • Method Detail

      • locate

        public org.springframework.core.env.PropertySource<?> locate​(org.springframework.core.env.Environment environment)
        Specified by:
        locate in interface org.springframework.cloud.bootstrap.config.PropertySourceLocator