Class AzureVaultConfigurationClient

java.lang.Object
io.micronaut.azure.secretmanager.AzureVaultConfigurationClient
All Implemented Interfaces:
io.micronaut.core.naming.Described, io.micronaut.discovery.config.ConfigurationClient

@Singleton @Requires(beans=com.azure.security.keyvault.secrets.SecretClient.class) public class AzureVaultConfigurationClient extends Object implements io.micronaut.discovery.config.ConfigurationClient
Distributed configuration client implementation that fetches application secret values from Azure keyvalut.
Author:
Nemanja Mikic
  • Constructor Details

    • AzureVaultConfigurationClient

      public AzureVaultConfigurationClient(AzureKeyVaultConfigurationProperties azureKeyVaultConfigurationProperties, @Named("io") @Nullable @Nullable ExecutorService executorService, SecretKeyVaultClient secretClient)
      Default Constructor.
      Parameters:
      azureKeyVaultConfigurationProperties - Azure Secret Vault Client Configuration
      executorService - Executor Service
      secretClient - The secrets client
  • Method Details

    • getPropertySources

      public org.reactivestreams.Publisher<io.micronaut.context.env.PropertySource> getPropertySources(io.micronaut.context.env.Environment environment)
      Specified by:
      getPropertySources in interface io.micronaut.discovery.config.ConfigurationClient
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface io.micronaut.core.naming.Described