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

Correct s3 access snippets #939

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

oliviermeslin
Copy link

Hi Onyxia team,

The S3 access snippets in R with R (aws.s3 and paws) were not working because listing buckets on S3 storages with many buckets does not seem to work for some reason. I propose a correction, along with a few comments.

Copy link

sonarqubecloud bot commented Mar 3, 2025

@oliviermeslin
Copy link
Author

@garronej , @ddecrulle : I'm quite aware that username <- gsub("user-", "", Sys.getenv("KUBERNETES_NAMESPACE")) is not the proper way to retrieve the username (and it won't work anyway for project namespaces). But I really think it is useful to show how to list the content of a bucket (get_bucket(username, region = "")). Do you know how to do it in a less hacky way?

@fcomte
Copy link
Contributor

fcomte commented Mar 5, 2025

Hello ,

We don't like those script in the opensource project.
We can only merge the removal of the bucket list function.
Sorry

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