Adding support for provisioning api, setting archiving callback url and updating/deleting archiving storage config

this line to generate tokens is repeated multiple times