AussieScorpio commented on issue #9409:
URL: https://github.com/apache/hop/issues/9409#issuecomment-6825607897

   > I created a free account and did a quick test, using access key and secret 
key I am able to connect
   > 
   > <img alt="image" width="2000" height="555" 
src="https://private-user-images.githubusercontent.com/1140235/702196970-a75e368a-7f7f-47ab-92e1-3a53cd235a30.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTQ0OTEwNDIsIm5iZiI6MTc5NDQ5MDc0MiwicGF0aCI6Ii8xMTQwMjM1LzcwMjE5Njk3MC1hNzVlMzY4YS03ZjdmLTQ3YWItOTJlMS0zYTUzY2QyMzVhMzAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTExMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMTJUMTMzOTAyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDEyZWI3OWQ0Y2YzZDIxN2ViMjFiMTk3MTNmNjkxOGJhZDRlYmVlNGE5MTYyYjdmOThlNTZjZjczMzRmZmYxMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.yqOC9XDG-v1gopx00sB-xzweuz3gqCWl5VU0_5UWjJg";>
   > when using credentials file the `~`. does not work, you need to specify 
the full path, also add the profile name you used to add the credentials
   > 
   > <img alt="image" width="1401" height="617" 
src="https://private-user-images.githubusercontent.com/1140235/702200033-9e71642e-c3f2-4b62-ad07-a0965a7466d2.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTQ0OTEwNDIsIm5iZiI6MTc5NDQ5MDc0MiwicGF0aCI6Ii8xMTQwMjM1LzcwMjIwMDAzMy05ZTcxNjQyZS1jM2YyLTRiNjItYWQwNy1hMDk2NWE3NDY2ZDIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTExMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMTJUMTMzOTAyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTFjNjhmYmYxMjdmYTk0ZjczYWRmNjI3ZDMwNzUzN2U0OGZhMmUzMGM3MGMzMjg0OTBiM2U5ZGNhZjBjY2M3NCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.nIqS-gG45vhYobBnzxtqtZx43xubulcJ-srmZxj1ZUU";>
   
   If I add the secret and key directly on the connection rather than using a 
credential file, then I can browse using "Explore". I can then also add the 
path to a GetFileNames transform and hit "Browse" from the edit dialogue, and 
again, I can browse. The issue is now how to use a credential file. I'm using a 
fully qualified path and the credential file is owned by the 'hop' user in the 
container. I can cat the file from inside the container using the defauilt (ie; 
'hop') user, so I know the file is readable on the specified path. This is the 
same credential file that we use with aws-cli, so I know that the credential 
file is correct. Again; there's nothing in the UI to suggest what the problem 
is.
   
   The logs show this entry;
   Caused by: software.amazon.awssdk.core.exception.SdkClientException: Profile 
file contained no credentials for profile 'default': 
ProfileFile(sections=[profiles, sso-session, services], 
profiles=[Profile(name=default, properties=[AWS_ACCESS_KEY_ID, 
AWS_SECRET_ACCESS_KEY])])
   
   The credentials file looks like this;
   [default]
   AWS_ACCESS_KEY_ID=<REDACTED>
   AWS_SECRET_ACCESS_KEY=<REDACTED>


-- 
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]

Reply via email to