<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Tyler,</p>
<p>you may use a QgsProcessingParameterAuthConfig parameter</p>
<p><a class="moz-txt-link-freetext" href="https://qgis.org/pyqgis/master/core/QgsProcessingParameterAuthConfig.html">https://qgis.org/pyqgis/master/core/QgsProcessingParameterAuthConfig.html</a><br>
</p>
<p>Greetings,</p>
<p>Benjamin<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Am 30/05/2022 um 15:31 schrieb Tyler
Veinot via QGIS-Developer:<br>
</div>
<blockquote type="cite"
cite="mid:CANfsH32js=OT8icQvOA5CjWqPYc=YbeeA6KWXDC38PjZP2_BjQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi All,
<div>I have a R script that I am trying to build into a
processing tool. The tool requires first to login to a
database server and the script grabs data. In the script
editor I am using </div>
<div>##oracle.username=string<br>
##oracle.password=string</div>
<div>To capture user inputs to pass to the script for the login.
When I put those inputs into the processing tool it generally
works but I can see what is entered into the password box. How
do I get it to hide that password with *****? Is it the same
technique for python scripts as well?<br>
Where can I go to learn more about turning scripts into
processing tools with user inputs and various options?<br>
<img src="cid:part1.C0T61mG7.x7t29Y3S@geo.hu-berlin.de"
alt="image.png" class="" width="479" height="394"><br>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Benjamin Jakimow, Doctoral Researcher
Earth Observation Lab | Geography Department | Humboldt-Universität zu Berlin
e-mail: <a class="moz-txt-link-abbreviated" href="mailto:benjamin.jakimow@geo.hu-berlin.de">benjamin.jakimow@geo.hu-berlin.de</a>
phone: +49 (0) 30 2093 6846
mobile: +49 (0) 157 5656 8477
fax: +49 (0) 30 2093 6848
mail: Unter den Linden 6 | 10099 Berlin | Germany
room: 2'211
web: <a class="moz-txt-link-freetext" href="https://hu-berlin.de/eo-lab">https://hu-berlin.de/eo-lab</a></pre>
</body>
</html>