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

[Feature Request] Allow bucket name to be specified in Backblaze B2 backend setup for single bucket keys. #781

Open
hector-hyrivera opened this issue Dec 2, 2024 · 1 comment

Comments

@hector-hyrivera
Copy link

If you create an application key that only has access to a single bucket, it will fail in the Init. This is due to B2 declining all "list_buckets" request if the key is limited to one bucket and the bucket name is not in the request. (See https://b2-sdk-python.readthedocs.io/en/master/api/api.html#b2sdk.v2.B2Api.list_buckets)

I believe it would be beneficial to add the ability to pass in the bucket name so we can limit which buckets are exposed to the application key we generate for Filestash.

@mickael-kerjean
Copy link
Owner

That's what the path is about, just put: /bucketname/ and you will be chrooted onto that bucket

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

No branches or pull requests

2 participants