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) |
boolean |
mustUseSsl() |
String |
type() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefaultAuthenticationPluginTypepublic String type()
type in interface CredentialPluginpublic boolean mustUseSsl()
mustUseSsl in interface CredentialPluginpublic CredentialPlugin initialize(Configuration conf, String userName, HostAddress hostAddress) throws SQLException
initialize in interface CredentialPluginSQLExceptionpublic Credential get()
get in interface CredentialPluginCopyright © 2022 SingleStore. All rights reserved.