public class AwsIamCredentialPlugin extends Object implements CredentialPlugin
Token is generated using IAM credential and region.
Implementation use SDK DefaultAWSCredentialsProviderChain and DefaultAwsRegionProviderChain (environment variable / system properties, files, ...) or using connection string options : accessKeyId, secretKey, region.
| Constructor and Description |
|---|
AwsIamCredentialPlugin() |
| Modifier and Type | Method and Description |
|---|---|
Credential |
get() |
CredentialPlugin |
initialize(Configuration conf,
String userName,
HostAddress hostAddress)
Permit initializing plugin if overridden
|
boolean |
mustUseSsl()
Indicate if plugin must throw an error if SSL is not enabled
|
String |
type()
credential identifier
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefaultAuthenticationPluginTypepublic String type()
CredentialPlugintype in interface CredentialPluginpublic boolean mustUseSsl()
CredentialPluginmustUseSsl in interface CredentialPluginpublic CredentialPlugin initialize(Configuration conf, String userName, HostAddress hostAddress) throws SQLException
CredentialPlugininitialize in interface CredentialPluginconf - configurationuserName - userhostAddress - host informationSQLException - if any error occurspublic Credential get()
get in interface CredentialPluginCopyright © 2025 SingleStore. All rights reserved.