feat(s3tables): expose bucket encryption configuration (#8523)

S3 Tables now serves GetTableBucketEncryption, returning the encryption
configuration CreateTableBucket stored, a configured KMS key ARN
included. A bucket created without one, or loaded from an older
snapshot, reports AES256. It is configuration readback only: Floci does
not encrypt table data or use the KMS key, and updating or deleting a
bucket's encryption configuration is not implemented.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
This commit is contained in:
Jackson PriceandAndre Kurait authored and GitHub committed 2026-11-15 19:56:31 -04:00
1 parent 7a98f47742
commit b0a4cc41cb
6 files changed
+254 -1

No files matched your search

+9 -1
View File
@@ -20,7 +20,7 @@ metadata files there through Floci's S3 and commits each new metadata file
with `UpdateTableMetadataLocation`. Deleting the table deletes its warehouse
and everything in it, every object version included. A warehouse bucket is the
table's storage, not a general purpose bucket, so `ListBuckets` leaves it out. Floci does not run an Iceberg engine itself: compaction,
snapshot expiry, replication, encryption management, and metrics are outside
snapshot expiry, replication, data encryption, and metrics are outside
this implementation.
A table's ARN ends in an id Floci mints when it creates the table
@@ -35,6 +35,7 @@ was stored with, which ends in its name.
| Area | Operations |
|---|---|
| Table buckets | CreateTableBucket, GetTableBucket, ListTableBuckets, DeleteTableBucket |
| Bucket encryption | GetTableBucketEncryption |
| Bucket policy | PutTableBucketPolicy, GetTableBucketPolicy, DeleteTableBucketPolicy |
| Bucket storage class | GetTableBucketStorageClass |
| Bucket maintenance | PutTableBucketMaintenanceConfiguration, GetTableBucketMaintenanceConfiguration |
@@ -48,6 +49,13 @@ Tables must use `ICEBERG` format. `UpdateTableMetadataLocation` implements
optimistic concurrency: supply the table's current `versionToken`; a stale
token returns `ConflictException`.
`GetTableBucketEncryption` returns the encryption configuration stored by
`CreateTableBucket`, including a configured KMS key ARN. Buckets created
without an explicit configuration, including those loaded from older
snapshots, report `AES256`. This is configuration readback; Floci does not
encrypt table data or perform KMS cryptographic operations. Updating or
deleting a bucket's encryption configuration is not implemented.
## Example
```bash