Type alias CreateDocumentInput

CreateDocumentInput: {
    authentication: [NewLightDidVerificationKey];
    keyAgreement?: [NewDidEncryptionKey];
    service?: DidServiceEndpoint[];
}

The options that can be used to create a light DID.

Type declaration

  • authentication: [NewLightDidVerificationKey]

    The DID authentication key. This is mandatory and will be used as the first authentication key of the full DID upon migration.

  • Optional keyAgreement?: [NewDidEncryptionKey]

    The optional DID encryption key. If present, it will be used as the first key agreement key of the full DID upon migration.

  • Optional service?: DidServiceEndpoint[]

    The set of service endpoints associated with this DID. Each service endpoint ID must be unique. The service ID must not contain the DID prefix when used to create a new DID.