Providing passwords on the command line when invoking a program may not be secure if there are other users on your machine familiar with a program named ps. You might do better to prompt for them with Term::Readkey.
Comment on Re: RFC - AppConfig::DBI - support for DBI connection (info) via AppConfig