Found 2 other functions taking a
otNetworkKey
argument:
Get the Thread Network Key. @sa otThreadSetNetworkKey
Set the Thread Network Key. Succeeds only when Thread protocols are disabled. A successful call to this function invalidates the Active and Pending Operational Datasets in non-volatile memory. @sa otThreadGetNetworkKey