public final class IamHelper extends IdpAuthHelper
| Modifier and Type | Field and Description |
|---|---|
static int |
GET_CLUSTER_CREDENTIALS_IAM_V2_API |
static int |
GET_CLUSTER_CREDENTIALS_JWT_V2_API |
static int |
GET_CLUSTER_CREDENTIALS_SAML_V2_API |
static int |
GET_CLUSTER_CREDENTIALS_V1_API |
static int |
GET_SERVERLESS_CREDENTIALS_V1_API |
IDC_PLUGIN, JWT_PLUGIN, SAML_PLUGIN| Modifier and Type | Method and Description |
|---|---|
static RedshiftProperties |
setIAMProperties(RedshiftProperties info,
RedshiftJDBCSettings settings,
RedshiftLogger log)
Helper function to handle IAM connection properties.
|
setAuthPropertiespublic static final int GET_CLUSTER_CREDENTIALS_V1_API
public static final int GET_CLUSTER_CREDENTIALS_IAM_V2_API
public static final int GET_CLUSTER_CREDENTIALS_SAML_V2_API
public static final int GET_CLUSTER_CREDENTIALS_JWT_V2_API
public static final int GET_SERVERLESS_CREDENTIALS_V1_API
public static RedshiftProperties setIAMProperties(RedshiftProperties info, RedshiftJDBCSettings settings, RedshiftLogger log) throws RedshiftException
info - Redshift client settings used to authenticate if connection should
be granted.settings - Redshift IAM settingslog - Redshift loggerRedshiftException - If an error occurs.Copyright © 2024 Amazon.com Inc.. All rights reserved.