Steve Willard
07/14/2023, 8:14 PMaws --endpoint-url <http://localhost:8000> s3 cp ~/Desktop/test.csv <s3://764af7c3-d093-463b-9d57-74eda636a4cc/main/test.csv>
I see in the logs:
2023-07-14 16:07:36 time="2023-07-14T20:07:35Z" level=warning msg="could not find access key" func=pkg/gateway.AuthenticationHandler.func1 file="build/pkg/gateway/middleware.go:53" error="credentials not found" key=xxxxxxxxx
How can the UI find keys, but uploading via the AWS CLI cannot?Amit Kesarwani
07/14/2023, 8:18 PMSteve Willard
07/14/2023, 8:21 PM[default]
in ~/.aws/credentials
On the container I tried setting LAKEFS_BLOCKSTORE_S3_CREDENTIALS_ACCESS_KEY_ID
and LAKEFS_BLOCKSTORE_S3_CREDENTIALS_SECRET_ACCESS_KEY
env vars. I also tried to create an ~/.aws/credentials
file on the container with a lakefs/config.yaml
fileAmit Kesarwani
07/14/2023, 8:24 PM[default]
in ~/.aws/credentials
? It should be lakeFS credentials.Steve Willard
07/14/2023, 8:25 PMAmit Kesarwani
07/14/2023, 8:45 PM764af7c3-d093-463b-9d57-74eda636a4cc
unless this is your repo name:
s3://764af7c3-d093-463b-9d57-74eda636a4cc/main/test.csv