Skip to content

Moving from storage object to presigned URLs - #2154

Merged
alaydshah merged 2 commits into
dev/v0.7.0from
bhargav191098/storage_presigned_urls
Jun 10, 2024
Merged

alaydshah merged 2 commits into
dev/v0.7.0from
bhargav191098/storage_presigned_urls

Conversation

@bhargav191098

Copy link
Copy Markdown
Contributor

For security purposes, the backend no longer sends the api tokens to the python side.
These changes directly impact the fedml storage module that relies upon the boto3 client to upload, download and delete dataset directories.
These changes implement the upload and download of data using presigned urls generated from the backend. These sidestep getting the api key data directly on the python side.

Scope of Changes:

  • api/modules/storage.py
  • server_constants.py for some URL storage.

@bhargav191098 bhargav191098 self-assigned this Jun 7, 2024
@bhargav191098
bhargav191098 requested a review from alaydshah June 7, 2024 06:57
@alaydshah
alaydshah merged commit 5214078 into dev/v0.7.0 Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants