Class AzureKeyVaultCertificateAutoConfiguration

java.lang.Object
com.azure.spring.cloud.autoconfigure.keyvault.certificates.AzureKeyVaultCertificateAutoConfiguration

@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties @ConditionalOnClass(com.azure.security.keyvault.certificates.CertificateClientBuilder.class) @ConditionalOnProperty(value={"spring.cloud.azure.keyvault.certificate.enabled","spring.cloud.azure.keyvault.enabled"}, havingValue="true", matchIfMissing=true) @ConditionalOnAnyProperty(prefixes={"spring.cloud.azure.keyvault.certificate","spring.cloud.azure.keyvault"}, name="endpoint") @Import(AzureKeyVaultConfiguration.class) public class AzureKeyVaultCertificateAutoConfiguration extends Object
Auto-configuration for Azure Key Vault Certificate support.
Since:
4.0.0
  • Constructor Details

    • AzureKeyVaultCertificateAutoConfiguration

      public AzureKeyVaultCertificateAutoConfiguration()
  • Method Details

    • azureKeyVaultCertificateClient

      @Bean @ConditionalOnMissingBean public com.azure.security.keyvault.certificates.CertificateClient azureKeyVaultCertificateClient(com.azure.security.keyvault.certificates.CertificateClientBuilder builder)
      Autoconfigure the CertificateClient instance.
      Parameters:
      builder - the CertificateClientBuilder to build the instance.
      Returns:
      the certificate client instance.
    • azureKeyVaultCertificateAsyncClient

      @Bean @ConditionalOnMissingBean public com.azure.security.keyvault.certificates.CertificateAsyncClient azureKeyVaultCertificateAsyncClient(com.azure.security.keyvault.certificates.CertificateClientBuilder builder)
      Autoconfigure the CertificateAsyncClient instance.
      Parameters:
      builder - the CertificateClientBuilder to build the instance.
      Returns:
      the certificate async client instance.