Create a Sovrin DID

Introduction

DIDs with a method of sov are a type of DID where the DID Document is anchored on a Sovrin ledger.

Constraints

During a trial any did:sov DIDs will reside on a private network and not on the Sovrin MainNet, and when migrating to the MainNet any sov DIDs will be removed. Any did:sov DIDs created should be considered as experimental as well as any credentials created using them. Please contact us to discuss further options.

Creating the DID

A DID with a DID method of sov can be created as follows.

http
Copy to clipboard.
1POST https://tenant.vii.mattr.global/core/v1/dids

Request

json
Copy to clipboard.
1{
2  "method": "sov"
3}

Response

json
Copy to clipboard.
1{
2
3  "did": "did:sov:mattr:EuV9acXkb4oRYrT3C9kkM6",
4
5  "registrationStatus": "COMPLETED",
6
7  "localMetadata": {
8
9    "keys": [
10
11      {
12
13        "didDocumentKeyId": "did:sov:mattr:EuV9acXkb4oRYrT3C9kkM6#4UEgFL9tyR",
14
15        "kmsKeyId": "4UEgFL9tyRVzUEENVbvmJxSnsEBM2PyjVDrCNZgVo5gE"
16
17      },
18
19      {
20
21        "didDocumentKeyId": "did:sov:mattr:EuV9acXkb4oRYrT3C9kkM6#6Hzch4NTX5",
22
23        "kmsKeyId": "6Hzch4NTX55s17dv3zNF81SEs3wDRn33BxLdiUFLGsX1"
24
25      },
26
27      {
28
29        "authorizedDidOperations": [
30
31          "Update"
32
33        ],
34
35        "kmsKeyId": "8aZbFV2z24zmnhysG3TPbuw3U41Ga4X2RUSERaxWJFc6"
36
37      }
38
39    ],
40
41    "registered": 1600919715957,
42
43    "initialDidDocument": {
44
45      "@context": "https://w3.org/ns/did/v1",
46
47      "id": "did:sov:mattr:EuV9acXkb4oRYrT3C9kkM6",
48
49      "publicKey": [
50
51        {
52
53          "id": "did:sov:mattr:EuV9acXkb4oRYrT3C9kkM6#4UEgFL9tyR",
54
55          "controller": "did:sov:mattr:EuV9acXkb4oRYrT3C9kkM6",
56
57          "type": "Ed25519VerificationKey2018",
58
59          "publicKeyBase58": "4UEgFL9tyRVzUEENVbvmJxSnsEBM2PyjVDrCNZgVo5gE"
60
61        }
62
63      ],
64
65      "authentication": [
66
67        "did:sov:mattr:EuV9acXkb4oRYrT3C9kkM6#4UEgFL9tyR"
68
69      ],
70
71      "assertionMethod": [
72
73        "did:sov:mattr:EuV9acXkb4oRYrT3C9kkM6#4UEgFL9tyR"
74
75      ],
76
77      "capabilityDelegation": [
78
79        "did:sov:mattr:EuV9acXkb4oRYrT3C9kkM6#4UEgFL9tyR"
80
81      ],
82
83      "capabilityInvocation": [
84
85        "did:sov:mattr:EuV9acXkb4oRYrT3C9kkM6#4UEgFL9tyR"
86
87      ],
88
89      "keyAgreement": [
90
91        {
92
93          "id": "did:sov:mattr:EuV9acXkb4oRYrT3C9kkM6#6Hzch4NTX5",
94
95          "controller": "did:sov:mattr:EuV9acXkb4oRYrT3C9kkM6",
96
97          "type": "X25519KeyAgreementKey2019",
98
99          "publicKeyBase58": "6Hzch4NTX55s17dv3zNF81SEs3wDRn33BxLdiUFLGsX1"
100
101        }
102
103      ]
104
105    }
106
107  }
108
109}