Enable assume role (assume_role_arn) for egress to S3 on a Build plan project

Hi all,

We use room composite egress to record sessions as MP4 into our own AWS S3 bucket. Instead of giving LiveKit an access key, we’d like egress to write through an IAM role, using the S3Upload fields assume_role_arn and assume_role_external_id.

The Egress API reference describes assume_role_arn as a “LiveKit Cloud feature when enabled”, but I couldn’t find setup steps in the docs. Could someone from the LiveKit team help with these?

  1. Can assume role be enabled for our project (Build plan)? Project:
  2. Which AWS principal (account ID or role ARN) should our role’s trust policy allow?
  3. Is an external ID required? If so, do you provide it, or do we choose one?
  4. Is s3:PutObject on the recordings prefix enough, or does egress need other S3 actions as well (for example s3:AbortMultipartUpload for large files)?

If assume role isn’t available on the Build plan, please say so and we’ll use a scoped access key for now.

Thanks!

Hi, sorry but assume role is only available on Enterprise.

Please see this line on the pricing page: