Open elfinston opened 4 years ago
Hi Shane, thanks for reporting the issue. I have transferred it to the right repo that handles the code for the pm CLI package.
@ellenbluth seems there is an inconsistency between the code and the help screen. Probably the easiest would be to update the online help (see below --section) to indicate the expected .edgerc section is "papi" as indicated on the README: https://github.com/akamai/cli-property-manager#get-started
Akamai DevOps [~] >> akamai pm help
Usage: akamai property-manager [options] [command]
Property Manager CLI. Run these commands from the project directory that contains your local properties.
Options:
-V, --version output the version number
-f, --format <format> Select output format for commands, either 'table', the default, or 'json'.
-s, --section <section> The section of the .edgerc file that contains the user profile, or client ID, to use for the command. If not set, uses the
`default` settings in the .edgerc file.
@akamai/cli-property-manager not sure if it is worth opening a new issue, but apart from fixing the documentation it would be great if the property-manager CLI would use the credentials in the "default" section whenever there is no "papi" section defined (most of the other CLI packages use the default section by default)
Taking into account it is 2023, and most people who follow the docs use https://techdocs.akamai.com/developer/docs/set-up-authentication-credentials
page to setup the creds, it is worth of fixing
This is the first step in setting up the creds for akamai cli..
Hello CLI team,
I trying a test to understand PIPELINE to suggest our DevOps to a customer. Basically it worked well as so far except a situation that when I used [default] named credential information.
Please refer below.
It worked well after I changed the credential name from [default] to [papi]. Looks like It has a problem with [default] credential name. So, I testing APIs with the changed credential name to prevent wasting my time by the way.
However, I hope It working well with [default] name. Could you tell me please, what I to do to resolve this issue?
Thanks and Regards, Shane Kim