IAM Role for SSH Session Recording S3 Bucket

Hello,
I’m trying to configure the session recording and following the documentation here:

My question is, do I still need to set static credentials if I have a role with proper policy attached to the instance/container?

My worker is running on ECS Fargate.

@hello1 currently you do require static credentials when configuring a storage bucket. We are actively working on support for env var secrets as well assume role from the instance your worker is running in, however we do not have a specific release targeted for this support.