Skip to Content

Bucket

Objects under prefixes, reached through a Function's binding or over S3.

A Function's blob calls go through its local API to the blob facade, and S3 clients go through the S3 gateway. Both ask Cedar for s3::read or s3::write and reach a prefix of the Bucket, stored as files or in S3

A Bucket holds objects under prefixes, its medallion layers, and each prefix has one writer, its owner. A Function reaches a prefix through a binding in spec.bindings.blob: its calls go to its local API, where the blob facade asks Cedar for s3::read or s3::write.

funcd's S3 gateway is off until the operator turns it on in funcd's configuration. A Function's calls through its local API do not need it. With the gateway on, S3 clients reach a Bucket through it with a SigV4 key pair. funcd issues a key pair to each Function and Lake, and to each Identity, for a caller outside funcd. The gateway asks Cedar the same question for that principal. The objects are files under <dataDir>/blob, or objects in an S3 store when blob.target points to one. A new object can trigger an event of an EventSource.