Why we can't use unique=True inplace of primaryKey=True for a onetoone relationship

In Building a data model section, why can’t we use unique=True for making the customer unique inplace of using primary key=True?