For cross-account access to an S3 bucket, the bucket owner's permissions document that names the external principal in…