-
Notifications
You must be signed in to change notification settings - Fork 369
Closed
Description
Describe the bug
I am using several CLI commands that support different ways of inputing the password. For example:
db linkanddb pushsupport the-pparameter to specify the passwordstorage rmonly supports stdin and in automation scripts I can work around it by pipingecho $passwordbefore the commanddb resetsupports only the secure way of stdin and I need to useexpectand 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 $passwordparameter instorageordb resetcommands
Expected behavior
-p parameter is supported in all CLI apis that require a password
System information
- Version of CLI: [e.g. v2.33.7]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels