public class AwsSecretsManagerConnectionPlugin extends AbstractConnectionPlugin
| Modifier and Type | Field and Description |
|---|---|
protected static AwsWrapperProperty |
REGION_PROPERTY |
protected static java.util.Map<software.amazon.awssdk.utils.Pair<java.lang.String,software.amazon.awssdk.regions.Region>,software.amazon.jdbc.plugin.AwsSecretsManagerConnectionPlugin.Secret> |
SECRET_CACHE |
protected static AwsWrapperProperty |
SECRET_ID_PROPERTY |
| Constructor and Description |
|---|
AwsSecretsManagerConnectionPlugin(java.util.Properties props) |
| Modifier and Type | Method and Description |
|---|---|
java.sql.Connection |
connect(java.lang.String driverProtocol,
HostSpec hostSpec,
java.util.Properties props,
boolean isInitialConnection,
JdbcCallable<java.sql.Connection,java.sql.SQLException> connectFunc) |
java.util.Set<java.lang.String> |
getSubscribedMethods() |
execute, initHostProvider, notifyConnectionChanged, notifyNodeListChangedprotected static final AwsWrapperProperty SECRET_ID_PROPERTY
protected static final AwsWrapperProperty REGION_PROPERTY
protected static final java.util.Map<software.amazon.awssdk.utils.Pair<java.lang.String,software.amazon.awssdk.regions.Region>,software.amazon.jdbc.plugin.AwsSecretsManagerConnectionPlugin.Secret> SECRET_CACHE
public AwsSecretsManagerConnectionPlugin(java.util.Properties props)
public java.util.Set<java.lang.String> getSubscribedMethods()
getSubscribedMethods in interface ConnectionPlugingetSubscribedMethods in class AbstractConnectionPluginpublic java.sql.Connection connect(java.lang.String driverProtocol,
HostSpec hostSpec,
java.util.Properties props,
boolean isInitialConnection,
JdbcCallable<java.sql.Connection,java.sql.SQLException> connectFunc)
throws java.sql.SQLException
connect in interface ConnectionPluginconnect in class AbstractConnectionPluginjava.sql.SQLException