A key identifies a row. The primary key is unique and non-blank in the dimension; the foreign key of the fact table refers to it. Uniqueness of the key on the dimension side is essential for the one-to-many relationship to work and for aggregations to remain correct.
Example
Produit[IdProduit] is unique; Ventes[IdProduit] refers to it.