IonDIDProvider.createIdentifier() method
Creates and returns a new identifier
Signature:
createIdentifier({ kms, options, alias }: {
kms?: string;
alias?: string;
options?: ICreateIdentifierOpts;
}, context: IAgentContext<IKeyManager>): Promise<Omit<IIdentifier, 'provider'>>;
Parameters
Parameter | Type | Description |
---|---|---|
{ kms, options, alias } | { kms?: string; alias?: string; options?: ICreateIdentifierOpts; } | |
context | IAgentContext<IKeyManager> | *RESERVED* This is filled by the framework when the method is called. This method's execution context requires an agent that has IKeyManager methods. |
Returns:
Promise<Omit<IIdentifier, 'provider'>>