add user-defined credentials

Change-Id: I7e06bc675b550810ffe79703c626ce8cf4be21ea
Signed-off-by: Henry Chen <hchen@vmware.com>