Skip to content
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

Add support for getting a Signed URL in GCS Adapter #65

Closed
wants to merge 5 commits into from

Conversation

tesirm99
Copy link
Contributor

@tesirm99 tesirm99 commented May 13, 2024

Hello,
I modified the 'getFileAsURL' function for the GCS and Azure Adapters to add the possibility of getting both a public URL and a signed URL for files in private buckets. We use this funcionality for files in Azure and GCS, but the GCS Adapter only returned public URLs, making it impossible to download files from private buckets even though we were authenticated. With the changed I am proposing we can still get the public URL as before and the signed URL if we need it. I also updated the use of the options parameter so it is actually used in those two adapters.

@abudaan
Copy link
Member

abudaan commented May 23, 2024

Thanks!

@abudaan abudaan closed this May 23, 2024
abudaan added a commit that referenced this pull request May 23, 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