devkey_handle value and address_handle value related question

I automate the provisioning processes for many server nodes. But I want to know that in publish_set(8,0) the devkey_handle and addres_handle values how i use them that we not just manually doing its value in command like in above command publish_set(8,0)? where these values stored? how i stored these values in a variable that its work for other nodes ? 

Related