That means, that a public/private key pair must be generated beforehand and offline.
Furthermore, the URL of the DID document must be known before and templated it at deployment.
The URL to this document will then also be a part of the connector's self description and must be supplied during onboarding (#7).
Preconditions
Public/Private key pair is available
a publicly available location (AzureStorage, S3 bucket, Cloudflare CDN,...) to host the DID is available and it's public URL is known
Acceptance Criteria
[x] An identity document can be generated, e.g. using a JSON template
[x] The Identity document can be deployed using Terraform
[x] The Identity document is publicly available upon deployment using the did:web key
[x] An integration test verifies the Identity documents after deployment automatically
Tasks
[x] Adapt Terraform code to deploy a static web app endpoint
[x] Adapt Terraform code to generate JSON DID document and store it in the web app endpoint
Feature agera-edc/MinimumViableDataspaceFork#116 After agera-edc/MinimumViableDataspaceFork#112
Description
Every dataspace participant needs to create a JSON document, which represents their DID containing the following items:
An example of such a document (the name of the participant here is "consumer"):
That means, that a public/private key pair must be generated beforehand and offline. Furthermore, the URL of the DID document must be known before and templated it at deployment.
The URL to this document will then also be a part of the connector's self description and must be supplied during onboarding (#7).
Preconditions
Acceptance Criteria
did:web
keyTasks