> For the complete documentation index, see [llms.txt](https://docs.energyweb.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.energyweb.org/legacy-documentation/ew-dos-technology-components-2023/identity-and-access-management-iam/ssi-hub.md). Agents can also search and read this documentation through its [MCP server](https://docs.energyweb.org/~gitbook/mcp).

# SSI Hub

## SSI Hub

NodeJS server application using [NestJS](https://nestjs.com/) framework. The server caches specific smart contract data such as [ENS namespaces](https://ens.domains/) and [DID documents](https://docs.energyweb.org/legacy-documentation/foundational-concepts/self-sovereign-identity-introduction.md#did-documents) in order to improve read-query performance for applications and packages that rely on on-chain data.

The SSI Hub also facilitates the credentials exchange between credential requesters and issuers, which enables other applications such as [Switchboard](broken://pages/-Mdw3Vke0uRCbFguK6gD#switchboard) or [Decentralized Service Bus](#decentralized-service-bus) to use credentials for role permissioning.

SSI Hub **persists** the following information that is created, read and updated by the [IAM library](#identity-access-and-management-iam-client-library):

* Organization namespaces
* Application namespaces
* Role namespaces
* User [credentials](https://github.com/energywebfoundation/ewf-gitbook/blob/develop/foundational-concepts/credentials.md)

### **Documentation Resources**

* [GitHub repository](https://github.com/energywebfoundation/iam-cache-server)
* [ReadTheDocs](https://energy-web-foundation-did-acl-cache-server.readthedocs-hosted.com/en/latest/api/globals/)

#### See an overview of all Identity and Access Management (IAM) components in EW-DOS [here](https://docs.energyweb.org/legacy-documentation/foundational-concepts/self-sovereign-identity-introduction.md#ew-dos-identity-and-access-management-stack)

### Dependencies and Dependents

| EW-DOS Dependencies                                                                                                                   | EW-DOS Dependents                                              |
| ------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
| [DID Library](#did-library)                                                                                                           | [Decentralized Service Bus](#decentralized-service-bus)        |
| [Energy Web Chain](https://docs.energyweb.org/legacy-documentation/ew-dos-technology-components-2023/trust-layer-energy-web-chain.md) | [Switchboard](broken://pages/-Mdw3Vke0uRCbFguK6gD#switchboard) |
| [IAM Smart Contracts](https://github.com/energywebfoundation/iam-contracts)                                                           | EV-Dashboard                                                   |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.energyweb.org/legacy-documentation/ew-dos-technology-components-2023/identity-and-access-management-iam/ssi-hub.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
