How to get hostname, keyName, key and cpCode?
SharkBaby opened this issue · comments
Hi @SharkBaby,
The NetStorage content management API is a little bit older than the standard OPEN API model, and uses its own authentication. (If you're looking for the API for managing storage groups - provisioning and administering NetStorage - this is not the correct library.)
In Akamai Control Center, you should go to NetStorage > Upload Accounts, create an upload account if required, and enable the HTTP API authentication. This will give you the key.
The hostname is xxx-nsu.akamaihd.net
The keyname is the id of the upload account.
Each NetStorage storage group can have multiple upload directories, adding an upload directory will also add a CP Code (the upload directory name will be the CP Code).
Hope that helps!
Hi @ynohat can you point me to correct library to manage netstorage via Java code?