hamzaezzi commented on issue #515:
URL: https://github.com/apache/iceberg-python/issues/515#issuecomment-2075729610

   > Interesting can you run `aws sts get-caller-identity` in the terminal to 
ensure the right identity is being used?
   > 
   > you can also, explicitly set the S3FileIO by passing in the s3 
configuration properties into the catalog.
   > 
   > ```
   >     catalog = pyiceberg.catalog.load_catalog(catalog_name,
   >                                              **{
   >                                                  "type": "glue",
   >                                                  "profile": profile_name,
   >                                                  "s3.access-key-id": 
"access-key",
   >                                                  "s3.secret-access-key": 
"secret-access-key",
   >                                                  "s3.region": "us-east-1"
   >                                              })
   > ```
   
   this worked for me when i also added the token information for the s3
   
   > catalog = load_catalog(
       "default",
       **{"type": "glue",
          "aws_access_key_id": "ASAXXXXXXXXXX",
          "aws_secret_access_key": "0VLxnXXXXXXXXXXX",
          "aws_session_token": "IQJb3JpXXXXXXXXXXXXXXXXXXXXXXXX",
          "s3.access-key-id": "ASAXXXXXXXXXX",
          "s3.secret-access-key": "0VLxnXXXXXXXXXXX",
          "s3.session-token": "IQJb3JpXXXXXXXXXXXXXXXXXXXXXXXX",
          "s3.region": "eu-west-1",
          "region_name": "eu-west-1"
          },
   )


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to