Skip to content

Commit

Permalink
Merge pull request #1413 from snosratiershad/hotfix/allow_blank_secre…
Browse files Browse the repository at this point in the history
…t_key

fix: allow blank secret key
  • Loading branch information
fviard authored Jan 18, 2025
2 parents 9f4cbe6 + 1084282 commit 25ecc8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion S3/Config.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,8 @@ def __init__(self, configfile = None, access_key=None, secret_key=None, access_t
self.aws_credential_file()

# override these if passed on the command-line
if access_key and secret_key:
# Allow blank secret_key
if access_key and secret_key is not None:
self.access_key = access_key
self.secret_key = secret_key
if access_token:
Expand Down

0 comments on commit 25ecc8f

Please sign in to comment.