IDIDManager.didManagerAddKey() method

Adds a key to a DID Document

Signature:
didManagerAddKey(args: IDIDManagerAddKeyArgs, context: IAgentContext<IKeyManager>): Promise<any>;

Parameters

ParameterTypeDescription
argsIDIDManagerAddKeyArgs
contextIAgentContext <IKeyManager>
Returns:

Promise<any>

identifier provider specific response. Can be txHash, etc,