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 5f4ce9b commit 752b0f1Copy full SHA for 752b0f1
prometrix/connect/aws_connect.py
@@ -21,10 +21,6 @@ def __init__(
21
token: Optional[str] = None,
22
**kwargs,
23
):
24
- """
25
- AMP connector using S3SigV4Auth.
26
- Supports both static AWS keys (for backwards compatibility) and IRSA.
27
28
super().__init__(**kwargs)
29
self.region = region
30
self.service_name = service_name
@@ -33,7 +29,7 @@ def __init__(
33
# Backwards compatibility: use static keys
34
self._credentials = Credentials(access_key, secret_key, token)
35
31
else:
36
- # Preferred: IRSA or any AWS provider chain
32
+ # IRSA
37
session = boto3.Session()
38
creds = session.get_credentials()
39
if not creds:
0 commit comments