apigee-remote-service-cli icon indicating copy to clipboard operation
apigee-remote-service-cli copied to clipboard

Prompt for password when necessary

Open whitlockjc opened this issue 2 years ago • 0 comments

Describe the issue

Whenever a password is required for your credentials, the current options for supplying it is to either directly provide it in the CLI invocation or using a .netrc file. Both of these approach have their security flaws.

Describe the solution

Ideally, whenever a password was necessary but not provided via one of the previously-supported approaches, the CLI would prompt you for a password.

Describe alternatives you've considered

The alternative to the CLI prompting for a password is to manage your shell history to remove invocations of the CLI when providing a password. Sure this works, but it's tedious, error-prone and would make demoing the CLI impossible securely.

Additional context

N/A

whitlockjc avatar Oct 21 '21 17:10 whitlockjc