Package com.azure.spring.cloud.config
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 Summary
Constructors Constructor Description AppConfigurationPropertySourceLocator(AppConfigurationProperties properties, AppConfigurationProviderProperties appProperties, ClientStore clients, KeyVaultCredentialProvider keyVaultCredentialProvider, SecretClientBuilderSetup keyVaultClientProvider, KeyVaultSecretProvider keyVaultSecretProvider)Loads all Azure App Configuration Property Sources configured.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.core.env.PropertySource<?>locate(org.springframework.core.env.Environment environment)
-
-
-
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 CredentialskeyVaultClientProvider- optional provider for modifying the Key Vault ClientkeyVaultSecretProvider- optional provider for loading secrets instead of connecting to Key Vault
-
-