Skip to main content

AddKeyActionData

@hyperledger/identus-sdk v8.0.0


@hyperledger/identus-sdk / overview / AddKeyActionData

Type Alias: AddKeyActionData

AddKeyActionData = { id: string; publicKey: PublicKey; purpose: PrismDIDKeyUsageType; }

Defined in: packages/lib/sdk/src/castor/methods/prism/index.ts:54

Add a new public key to the DID Document.

Properties

PropertyTypeDescriptionDefined in
idstringVerification method id, unique within the Document.packages/lib/sdk/src/castor/methods/prism/index.ts:56
publicKeyPublicKeyThe public key material to add.packages/lib/sdk/src/castor/methods/prism/index.ts:60
purposePrismDIDKeyUsageTypeThe key usage this key fulfils.packages/lib/sdk/src/castor/methods/prism/index.ts:58