useExistingKey

protected suspend fun useExistingKey(keyAlias: String)

Uses an existing authentication key to which this credential is bound and adds the credential to the document.

Parameters

keyAlias

the alias of the key to use.

Throws

if the key does not exist