Type alias CreateDocumentInput

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

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

Type declaration

  • authentication: [NewLightDidVerificationKey]

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

  • Optional keyAgreement?: [NewDidEncryptionKey]

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

  • Optional service?: NewService[]

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