public class BasicJwtCredentialsProvider extends JwtCredentialsProvider
m_dbUser, m_disableCache, m_duration, m_jwt, m_log, m_region, m_roleArn, m_roleSessionName, m_stsEndpoint| Constructor and Description |
|---|
BasicJwtCredentialsProvider()
Optional default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPluginSpecificCacheKey() |
protected String |
processJwt(String jwt)
This method needs to return the JWT string returned by the specific JWT provider
being used for this implementation.
|
addParameter, checkRequiredParameters, decodeJwt, deriveDatabaseUser, getCredentials, refresh, setLoggerpublic BasicJwtCredentialsProvider()
public String getPluginSpecificCacheKey()
getPluginSpecificCacheKey in interface IPlugingetPluginSpecificCacheKey in class JwtCredentialsProviderprotected String processJwt(String jwt) throws IOException
This will be used by the JwtCredentialsProvider parent class to get the temporary credentials.
processJwt in class JwtCredentialsProviderjwt - web identity tokensIOException - throws exception when required parameters are missing.Copyright © 2021 Amazon.com Inc.. All rights reserved.