-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
S3: Use key_id and key_secret directly #4224
Conversation
Hi @farizrahman4u ! Thank you for the PR! Please take a look at our contribution guide (it was in the PR hints). Right now our patch checks are failing, because you didn't have pre-commit hooks installed. 🙂 |
Also, please feel free to mark your PR as WIP/draft if it is not ready for review yet 🙂 Thanks! |
@efiop CI seems to be cloning the main repo instead of the fork? |
Looks like it is trying to run restyled's PR and is failing as the branch is no longer there. |
@efiop Done. |
Co-authored-by: Ruslan Kuprieiev <[email protected]>
Btw, @farizrahman4u , in the PR header that you've removed, there was a bulletpoint about docs. In particular, we need to add the new config options to https://dvc.org/doc/command-reference/remote/modify (there is an edit button). Could you please submit a docs PR after we are done with config option naming here? 🙂 |
@efiop done renames and docs pr : iterative/dvc.org#1589 |
self.access_key_id = config.get("access_key_id") | ||
self.secret_access_key = config.get("secret_access_key") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we assign it instead of using self.config
directly later?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Following the pattern in other remotes (OSS, GDrive etc).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @farizrahman4u !
Fixes #4175
@efiop