Skip to main content

AbstractIdentifierProvider.addKey() method

Signature:

abstract addKey(args: {
identifier: IIdentifier;
key: IKey;
options?: IDIDManagerAddKeyArgs['options'];
}, context: IAgentContext<IKeyManager>): Promise<any>;

Parameters

Parameter

Type

Description

args

{ identifier: IIdentifier; key: IKey; options?: IDIDManagerAddKeyArgs['options']; }

context

IAgentContext<IKeyManager>

**Returns:**

Promise<any>