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, wait
defaultAuthenticationPluginType
public String type()
type
in interface CredentialPlugin
public String name()
name
in interface CredentialPlugin
public boolean mustUseSsl()
mustUseSsl
in interface CredentialPlugin
public CredentialPlugin initialize(Options options, String userName, HostAddress hostAddress) throws SQLException
initialize
in interface CredentialPlugin
SQLException
public Credential get()
get
in interface Supplier<Credential>
Copyright © 2019 mariadb.org. All rights reserved.