fix the format error of credentials

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