s4cmd
s4cmd copied to clipboard
"unable to locate credentials" despite path being provided ?
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
:shrug: