@Mena11 ,
You could encode your password in .authinfo file, please see the instructions here https://go.documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.5&docsetId=authinfo&docsetTarget=n0xo6z7e98y63dn1fj0g9l2j7oyq.htm&locale=en#p1le127swrbmtzn1lwny85q1fyo6. If you still do not want to use .authinfo file, then you could provide username and password in your program, for example here is what you can use in Python SWAT:
import swat
conn = swat.CAS(host, port, username, password)
... View more