# Decentralized Data Hub (DDHub)

The Decentralized Data Hub (DDHub) is one of the primary technologies underpinning [EW Data Exchange](https://github.com/energywebfoundation/ewf-gitbook/blob/develop/solutions/data-exchange/README.md) solutions. The DDHub Environment is composed of multiple DDHub Messaging Client Nodes interacting with each other through the DDHub Message Broker.

* Each node (or group of nodes) in the Message Broker cluster is identified with a unique [DID](https://github.com/energywebfoundation/ewf-gitbook/blob/develop/foundational-concepts/self-sovereign-identity-ssi.md) and must be issued with a DDHub Messaging Client role
* Each node contains an [IAM Client ](https://docs.energyweb.org/legacy-documentation/ew-dos-technology-components-2023/broken-reference)that ensures legitimacy of users interacting within the messaging cluster by checking their identities, and issued role or set of roles\\
* The IAM Client and DIDs provide a layer of protection against unauthorized access to DDHub functionalities
* Data exchanged within the cluster is secured in transit with mTLS

<figure><img src="https://2400236058-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_pXALj14Egb-5Bal_p%2Fuploads%2FYcvsYgoioIcRO6kQ85oG%2FDDHub%20Main%20Components.jpg?alt=media&#x26;token=93bb8538-63a4-4084-9261-a2411312bddd" alt=""><figcaption></figcaption></figure>
