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 |
*RESERVED* This is filled by the framework when the method is called. This method's execution context requires an |
Promise<Omit<IIdentifier, 'provider'>>