wMS environment variables for portlet

Hi Guys, I’d like to setup some configuration variables for a portlet in wMS instead of directly in the portlet configuration in Designer, very simililar to the wsclient-username and wsclient-password, anybody done anything similiar to this or know how to set this up? Thanks Quinn