Serverless with deployment bucket in cross account


HI All

I am trying to setup my serverless yaml code to use some fixed bucket. I understand we can achieve this by using the below configuration
name: nameofthebucket
serverSideEncryption: AES256

How do I configure bucket in different account so I can provide cross account permission for the deploying role or user?