For granting permission to the S3 bucket, create an IAM (Identity and Access Management) policy or reuse an existing one.