s3cmd icon indicating copy to clipboard operation
s3cmd copied to clipboard

access_token in config file provided with --config parameter is not setting _access_token_refresh to False

Open kv83821-yb opened this issue 3 years ago • 0 comments

I provided the access_token in a config file, and used the --config <FILE> parameter with s3cmd. I expected the presence of access_token parameter in the config file would disallow refreshing of the credentials by s3cmd itself. But the code I checked in Config.py seems to suggest otherwise. Making the variable _access_token_refresh to not able to be configured externally is another problem. I need a configuration parameter such that I can disable auto-refresh. Thanks!

kv83821-yb avatar Nov 24 '22 09:11 kv83821-yb