com.r3corda.core.node / ServiceHub / notaryIdentityKey

# notaryIdentityKey

`open val notaryIdentityKey: KeyPair`

Helper property to shorten code for fetching the Nodes KeyPair associated with the public notaryIdentity Party from the key management service. It is assumed that this is only used in contexts where the Node knows it is hosting a Notary Service. Otherwise, it will throw an IllegalArgumentException. Typical use is during signing in protocols and for unit test signing.