In this article, I would show you how can generate the user config file and key file in you fusion middleware stack. This would prevent you from typing in your admin user's password when you trying to automate deployment.
$> . $WL_HOME/server/bin/setWLENV.sh
$> java weblogic.WLST
Enter your username, password and adminUrl
$> wls:/DomainName/serverConfig> storeUserConfig()
The config and key files are stored in the user's home directory.