We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32a17d8 commit b6aa2d3Copy full SHA for b6aa2d3
redshift_connector/iam_helper.py
@@ -110,21 +110,6 @@ def set_iam_properties(info: RedshiftProperty) -> RedshiftProperty:
110
)
111
elif info.iam is True:
112
113
- if not any(
114
- (
115
- info.credentials_provider,
116
- info.access_key_id,
117
- info.secret_access_key,
118
- info.session_token,
119
- info.profile,
120
- info.auth_profile,
121
- )
122
- ):
123
- raise InterfaceError(
124
- "Invalid connection property setting. Credentials provider, AWS credentials, Redshift auth profile "
125
- "or AWS profile must be provided when IAM is enabled"
126
127
-
128
if info.cluster_identifier is None:
129
raise InterfaceError(
130
"Invalid connection property setting. cluster_identifier must be provided when IAM is enabled"
0 commit comments