-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add and improve documentation (#377)
* docs: add and improve documentation * DEPENDENCIES
- Loading branch information
1 parent
5394fdf
commit 4dc02f5
Showing
7 changed files
with
142 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 0 additions & 18 deletions
18
core/identity-hub-did/src/main/java/org/eclipse/edc/identityhub/did/DidResourceManager.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# APIs of the IdentityHub | ||
|
||
## Hub API | ||
|
||
This refers to a group of endpoints that implement functionality which is defined in | ||
the [Decentralized Claims Protocol (DCP) specification](https://projects.eclipse.org/projects/technology.dataspace-dcp). | ||
These APIs is intended to be exposed to the internet. | ||
|
||
### Presentation API | ||
|
||
This API allows clients to request credentials in the form of a VerifiablePresentation. It is part of the Verifiable | ||
Credential Presentation protocol of the DCP specification. | ||
|
||
Please refer to the [API documentation](https://eclipse-edc.github.io/IdentityHub/openapi/ih-resolution-api) for more | ||
details. | ||
|
||
### Storage API | ||
|
||
This API offers endpoints to credentials issuers to store newly issued credentials in IdentityHub's persistent storage. | ||
|
||
> not yet implemented | ||
## Identity API | ||
|
||
IdentityHub's Identity API is used to manipulate information that pertain to a participant's identity. Specifically, DID | ||
documents, VerifiableCredentials and key pairs. Authorized clients can CRUD that information, for example adding | ||
a `service` to a DID document, or rotating or revoking a key pair. | ||
|
||
All endpoints of this API require authorization - every participant is only allowed to modify their own information. For | ||
details about IdentityHub's security and RBAC concept, please refer to [this document](./identity-api.security.md). | ||
|
||
The Identity API is not intended to be exposed to the internet without additional network infrastructure, such as API | ||
gateways. Please refer to | ||
the [EDC Best Practices](https://github.com/eclipse-edc/docs/blob/main/developer/best-practices.md) for more | ||
information. | ||
|
||
For more information please refer to | ||
the [API documentation](https://eclipse-edc.github.io/IdentityHub/openapi/identity-api). | ||
|
||
> Please note that this API is explicitly _not_ intended to store or update VerifiableCredentials. This process is | ||
> defined in the DCP specification and must be done via the Storage API. | ||
## Observability API | ||
|
||
The Observability API is intended to provide information about the application health to the Docker daemon via Docker | ||
health checks and the Kubernetes control plane via Kubernetes Readiness Probes. It is not intended to be reachable | ||
from outside the container as it lacks access control. |