You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| iam_disable_cache | bool | This option specifies whether the IAM credentials are cached. By default the IAM credentials are cached. This improves performance when requests to the API gateway are throttled. | FALSE | No |
| idc_client_display_name | str | The client display name to be used in user consent in IdC browser auth. This is an optional value. The default value is "Amazon Redshift Python connector". | None | No |
| identity_namespace | str | The identity namespace to be used for the IdC browser auth plugin and IdP token auth plugin. It is an optional value if there is only one IdC instance existing or if default identity namespace is set on the cluster - else it is required. | None | No |
| web_identity_token | str | The OAuth 2.0 access token or OpenID Connect ID token that is provided by the identity provider. Your application must get this token by authenticating the user who is using your application with a web identity provider. This parameter is used by JwtCredentialsProvider. For this provider, this is a mandatory parameter. | None | No |
Establishes a :class:`Connection` to an Amazon Redshift cluster. This function validates user input, optionally authenticates using an identity provider plugin, then constructs a :class:`Connection` object.
@@ -246,6 +261,20 @@ def connect(
246
261
The name of work group for serverless end point. Default value None.
247
262
group_federation: Optional[bool]
248
263
Use the IDP Groups in the Redshift. Default value False.
264
+
start_url: Optional[str]
265
+
The directory or start url for the AWS IdC access portal. Default value is None.
266
+
idc_region: Optional[str]
267
+
The AWS region where IdC instance is located. Default value is None.
268
+
idc_response_timeout: Optional[int]
269
+
The timeout value in seconds for the IdC browser auth. Default value is `120`.
270
+
identity_namespace: Optional[str]
271
+
The identity namespace to be used with IdC auth plugin. Default value is None.
272
+
idc_client_display_name: Optional[str]
273
+
The client display name to be used in user consent in IdC browser auth. Default value is `Amazon Redshift Python connector`.
274
+
token: Optional[str]
275
+
The access token to be used with IdC basic credentials provider plugin. Default value is None.
276
+
token_type: Optional[str]
277
+
The token type to be used for authentication using IdP token auth plugin. Default value is None.
249
278
Returns
250
279
-------
251
280
A Connection object associated with the specified Amazon Redshift cluster: :class:`Connection`
0 commit comments