-
Notifications
You must be signed in to change notification settings - Fork 270
Open
Description
Describe the bug
I am using several CLI commands that support different ways of inputing the password. For example:
db link
anddb push
support the-p
parameter to specify the passwordstorage rm
only supports stdin and in automation scripts I can work around it by pipingecho $password
before the commanddb reset
supports only the secure way of stdin and I need to useexpect
and some workarounds to be able to input the password in an automation script. Additionally this solution requires to specify the exact prompt from the CLI that needs to be answered, e.g. "Enter your database password:". If the prompt changes the script won't work anymore.
To Reproduce
Steps to reproduce the behavior:
- Try
echo $password | db reset ...
which won't work - Try
-p $password
parameter instorage
ordb reset
commands
Expected behavior
-p
parameter is supported in all CLI apis that require a password
System information
- Version of CLI: [e.g. v2.33.7]
Metadata
Metadata
Assignees
Labels
No labels