Class DefaultSecretManagerServiceClientFactory

java.lang.Object
com.google.cloud.spring.autoconfigure.secretmanager.DefaultSecretManagerServiceClientFactory
All Implemented Interfaces:
SecretManagerServiceClientFactory

@Component public class DefaultSecretManagerServiceClientFactory extends Object implements SecretManagerServiceClientFactory
A default implementation of the SecretManagerServiceClientFactory interface.

This factory provides a caching layer for SecretManagerServiceClient instances. Clients are created using the provided CredentialsProvider and a UserAgentHeaderProvider that adds the Spring Cloud GCP agent header to the client.