DIDManager.didManagerAddKey() method
Adds a key to a DID Document
Signature:
didManagerAddKey({ did, key, options }: IDIDManagerAddKeyArgs, context: IAgentContext<IKeyManager>): Promise<any>;
Parameters
Parameter | Type | Description |
|---|---|---|
{ did, key, options } | ||
context |
Promise<any>
identifier provider specific response. Can be txHash, etc,