eclipse-tractusx / managed-identity-wallet

Apache License 2.0
9 stars 22 forks source link

Configurable did:url #265

Open OSchlienz opened 7 months ago

OSchlienz commented 7 months ago

The didUrl needs to be configurable with the url provided durin wallet creation (default is the portal-url where the didDocument will be published, as an alternative a participant can privide his url if he wants to take care of the publishing).

{
  "@context": [
    "https://www.w3.org/ns/did/v1",
    "https://w3id.org/security/suites/ed25519-2020/v1"
  ],
  "id": "did:web:example.com:BPN123",
  "verificationMethod": [
     {
         "id": ["did:web:example.com:BPN123#key-0"],
         "type": "JsonWebKey2020",
         "publicKeyJwk": {
            "kty": "JsonWebKey2020",
            "crv": "Ed25519",
            "x": "3534354354353"
         }
     }
  "services": [
     {
         "id": ["did:web:example.com:BPN123#key-0"],
         "type": "CredentialStore",
         "serviceEndpoint": "{url}"
     }
  ]
}