Python and passwords

Darren Strong <[email protected]>
Newsgroups gmane.comp.hardware.ibm.midrange
Message-ID <CH3PR11MB8185182A36CF04B19CC36AE5D5382@CH3PR11MB8185.namprd11.prod.outlook.com>
I'm trying out python to generate Spreadsheet and HTML file output on our IBM i. The big issue I ran into was that the ibm_db set of imports to access data on the DB2 for I database, requires a username and password.  There is an option to embed this in an environment variable, but that still requires storing my or some other users password and maintaining that. Is there something I'm missing, where a Python script can access db2 data while running on the IBM I without separate credentials?  I'd like to use something like username=*current.



Darren Strong
Programmer/Analyst
dekko.com<http://www.dekko.com/>

[cid:[email protected]]

-- 
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support-FMtJrHiV//lnDLsaKlm4mFaTQe2KTcn/@public.gmane.org for any subscription related questions.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.