importKey

abstract suspend fun importKey(identity: SigningIdentity, privateKey: EncodedKey.Jwk): IdentityCustodyReceipt

Imports the key idempotently under the identity's stable key ID. A different existing key must not be overwritten. Never log the private JWK or include it in an exception.