mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 22:37:55 -05:00
Under IAM enforcement no S3 Vectors request was checked: its model was not among the vendored REST routes and the s3vectors namespace's request resources were not read, so every call went through. regen_rest_routes.py now vendors its routes and the request-resources and tag-on-create generators read the namespace, so a vector bucket call is checked on the bucket its vectorBucketName or vectorBucketArn names, an index or vector call on the index its bucket and indexName or its indexArn names, and ListVectorBuckets on *. Nothing in IAM is written by hand for it. The IAM tests of REST services (CloudFront, EMR Serverless, S3 Tables, S3 Vectors) sign and send their requests through one shared SignedRestRequests helper.