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(Options options,
String userName,
HostAddress hostAddress) |
boolean |
mustUseSsl() |
String |
name() |
String |
type() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefaultAuthenticationPluginTypepublic String type()
type in interface CredentialPluginpublic String name()
name in interface CredentialPluginpublic boolean mustUseSsl()
mustUseSsl in interface CredentialPluginpublic CredentialPlugin initialize(Options options, String userName, HostAddress hostAddress) throws SQLException
initialize in interface CredentialPluginSQLExceptionpublic Credential get()
get in interface Supplier<Credential>Copyright © 2020 mariadb.com. All rights reserved.