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

Enforce bucket naming rules #1583

Open
ChrisSchinnerl opened this issue Sep 26, 2024 · 0 comments
Open

Enforce bucket naming rules #1583

ChrisSchinnerl opened this issue Sep 26, 2024 · 0 comments
Milestone

Comments

@ChrisSchinnerl
Copy link
Member

While we are preparing the API for v2 it might make sense to enforce some stricter rules on bucket names.
To remain compatible with S3 we should use their rules as a reference. From what I can see it should be pretty sane to implement the first 5 rules they list.

Then we can also change the varchar(255) for the bucket name to a varchar(63).
I'm not sure if they allow UTF-16 but in that case we might need to adjust the column length to account for that.

https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html

@ChrisSchinnerl ChrisSchinnerl converted this from a draft issue Sep 26, 2024
@ChrisSchinnerl ChrisSchinnerl moved this from Triage to Todo in Sia Sep 26, 2024
@ChrisSchinnerl ChrisSchinnerl added this to the v2.0.0 milestone Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant