Hyperledger Fabric handles identity management through a component called Membership Service Provider (MSP). MSP manages the identities of participants on the network, authenticates them, and controls their access to resources. Each participant is assigned a digital certificate that contains their identity information. By using cryptographic techniques, Fabric ensures the security and integrity of these identities throughout the network.