garage/doc/book/src/reference_manual/s3_compatibility.md

62 lines
2.8 KiB
Markdown
Raw Normal View History

# S3 Compatibility status
2021-02-19 18:10:23 +00:00
## Global S3 features
2021-02-19 18:10:23 +00:00
Implemented:
2021-02-19 18:11:55 +00:00
- path-style URLs (`garage.tld/bucket/key`)
- vhost-style URLs (`bucket.garage.tld/key`)
2021-02-19 18:10:23 +00:00
- putting and getting objects in buckets
- multipart uploads
- listing objects
2022-01-07 16:10:01 +00:00
- access control on a per-access-key-per-bucket basis
- CORS headers on web endpoint
2021-02-19 18:10:23 +00:00
Not implemented:
- object-level ACL
- [object versioning](https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/166)
2021-02-19 18:10:23 +00:00
- encryption
- most `x-amz-` headers
## Endpoint implementation
2021-02-19 18:10:23 +00:00
All APIs that are not mentionned are not implemented and will return a 400 bad request.
| Endpoint | Status |
|------------------------------|----------------------------------|
| AbortMultipartUpload | Implemented |
| CompleteMultipartUpload | Implemented |
| CopyObject | Implemented |
2022-01-07 16:14:37 +00:00
| CreateBucket | Implemented |
| CreateMultipartUpload | Implemented |
2022-01-07 16:14:37 +00:00
| DeleteBucket | Implemented |
2022-01-07 16:10:01 +00:00
| DeleteBucketCors | Implemented |
| DeleteBucketWebsite | Implemented |
| DeleteObject | Implemented |
| DeleteObjects | Implemented |
2022-01-07 16:10:01 +00:00
| GetBucketCors | Implemented |
| GetBucketLocation | Implemented |
| GetBucketVersioning | Stub (see below) |
2022-01-07 16:13:16 +00:00
| GetBucketWebsite | Implemented |
| GetObject | Implemented |
| HeadBucket | Implemented |
| HeadObject | Implemented |
| ListBuckets | Implemented |
| ListObjects | Implemented, bugs? (see below) |
| ListObjectsV2 | Implemented |
| PutObject | Implemented |
2022-01-07 16:10:01 +00:00
| PutBucketCors | Implemented |
| PutBucketWebsite | Partially implemented (see below)|
| UploadPart | Implemented |
- **GetBucketVersioning:** Stub implementation (Garage does not yet support versionning so this always returns
2021-05-31 15:23:35 +00:00
"versionning not enabled").
- **ListObjects:** Implemented, but there isn't a very good specification of what `encoding-type=url` covers so there might be some encoding bugs. In our implementation the url-encoded fields are in the same in ListObjects as they are in ListObjectsV2.
2021-02-19 18:10:23 +00:00
2022-01-07 16:13:16 +00:00
- **PutBucketWebsite:** Implemented, but only stores the index document suffix and the error document path. Redirects are not supported.