For cross-account S3 access, the bucket owner's policy attached to the bucket that names the external principal and all…