public class SqlCredentialFactory extends Object implements com.google.cloud.sql.CredentialFactory
Since the sockets factory creates an instance of this class by reflection and without any arguments, the credential location must be in a place that this class knows without any context.
Modifier and Type | Field and Description |
---|---|
static String |
CREDENTIAL_ENCODED_KEY_PROPERTY_NAME
the system property name for the key name.
|
static String |
CREDENTIAL_LOCATION_PROPERTY_NAME
the system property name for the location of the credentials.
|
Constructor and Description |
---|
SqlCredentialFactory() |
public static final String CREDENTIAL_LOCATION_PROPERTY_NAME
public static final String CREDENTIAL_ENCODED_KEY_PROPERTY_NAME
Copyright © 2021. All rights reserved.