corda / net.corda.core.node / ServiceHub / notaryIdentityKey

# notaryIdentityKey

`open val notaryIdentityKey: KeyPair`

Helper property to shorten code for fetching the Node's 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 flows and for unit test signing.