Skip to content

Commit

Permalink
Allow enabling anonymous login (#85)
Browse files Browse the repository at this point in the history
* Allow enabling anonymous login

* Align configuration name for anonymous login

---------

Co-authored-by: Dave Berenbaum <dave.berenbaum@gmail.com>
  • Loading branch information
2maz and dberenbaum committed Apr 26, 2024
1 parent 2d8bf60 commit 10ceddd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dvc_s3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ def _prepare_credentials(self, **config):
# session configuration
login_info["profile"] = config.get("profile")
login_info["use_ssl"] = config.get("use_ssl", True)
login_info["anon"] = config.get("allow_anonymous_login")

# extra client configuration
client = login_info["client_kwargs"]
Expand Down

0 comments on commit 10ceddd

Please sign in to comment.