Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"unable to locate credentials" despite path being provided ? #319

Open
udf2457 opened this issue Apr 13, 2024 · 0 comments
Open

"unable to locate credentials" despite path being provided ? #319

udf2457 opened this issue Apr 13, 2024 · 0 comments

Comments

@udf2457
Copy link

udf2457 commented Apr 13, 2024

So, according to s4cmd --help:

-p S3CFG, --config=S3CFG path to s3cfg config file

But it doesn't work.

e.g. in /home/myuser/s4.cfg I have:

[default]
access_key = <REMOVED FOR SECURITY>
access_token = <REMOVED FOR SECURITY>
use_https = True
host_base = <REMOVED FOR SECURITY>
host_bucket = <REMOVED FOR SECURITY>

But then this:

s4cmd --config=/home/myuser/s4.cfg put .bashrc s3://bucketbar/foo

Returns:

[Exception] Unable to locate credentials
[Thread Failure] Unable to locate credentials

🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant