Class SecretManagerImporterClientFactory

java.lang.Object
io.micronaut.gcp.secretmanager.imports.SecretManagerImporterClientFactory

@Internal public final class SecretManagerImporterClientFactory extends Object
Internal client factory seam for Google Secret Manager config imports.
Since:
5.0
  • Constructor Details

    • SecretManagerImporterClientFactory

      public SecretManagerImporterClientFactory()
  • Method Details

    • create

      public com.google.cloud.secretmanager.v1.SecretManagerServiceClient create(SecretManagerConfigurationProperties configurationProperties, com.google.api.gax.core.CredentialsProvider credentialsProvider, com.google.api.gax.rpc.TransportChannelProvider transportChannelProvider)
      Creates the low-level Secret Manager client used during config import.
      Parameters:
      configurationProperties - Secret Manager client configuration derived for the import
      credentialsProvider - Credentials provider used to authenticate the import request
      transportChannelProvider - Transport channel provider for the Secret Manager client
      Returns:
      A Secret Manager service client