Class AppConfigurationPropertySourceLocator

java.lang.Object
com.azure.spring.cloud.config.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 Details

    • 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 Details

    • 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