Jibri finalize.sh S3 recording upload

Hey everyone,
I have installed Jibri in a separate ec2 instance and recording is working perfectly.
I want to upload the recording to AWS s3. But the finalize.sh script is showing signature doesn’t match error. But running this script manually is working fine for me.
Can anyone please guide me through this.

Did you test as jibri user or root?
The finalize script is ran by the jibri user.

Hey. Thanks for quick reply
I am using docker-jibri. How should I handle permissions to run script inside container?