cli-purge icon indicating copy to clipboard operation
cli-purge copied to clipboard

Purge doesn't appear to accept the "ccu" credentials by default

Open akshayranganath opened this issue 7 years ago • 0 comments

I have a .edgerc file with the section named ccu. Despite this, when I run the purge command, I get an error.

$ akamai purge invalidate https://www.test.com/
Purging...panic: Fatal missing required options: [host client_token client_secret access_token]

When I explicitly add the section parameter, it goes through.

$ akamai purge --section ccu invalidate https://www.test.com/
Purging...... [FAIL]
API Error: 0 unauthorized arl https://www.test.com/

Could you please check if the command is indeed taking the right parameters? I am getting the error from the purge version 0.2.1.

akshayranganath avatar Feb 07 '18 06:02 akshayranganath