Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get hostname, keyName, key and cpCode? #17

Open
SharkBaby opened this issue Nov 28, 2019 · 2 comments
Open

How to get hostname, keyName, key and cpCode? #17

SharkBaby opened this issue Nov 28, 2019 · 2 comments

Comments

@SharkBaby
Copy link

when I access to Akamai control center, I only have client_secret , host, access_token and client_token,
May I know how to get hostname, keyname, key and cpCode ?
image

@ynohat
Copy link

ynohat commented Dec 15, 2019

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!

@MilindKhairnar
Copy link

Hi @ynohat can you point me to correct library to manage netstorage via Java code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants