{"id":48650,"date":"2026-11-17T18:16:57","date_gmt":"2026-11-17T17:16:57","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=48650"},"modified":"2026-11-17T18:18:24","modified_gmt":"2026-11-17T17:18:24","slug":"avoid-oracle-passwords-in-cleartext-with-keepass-and-wallet","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/avoid-oracle-passwords-in-cleartext-with-keepass-and-wallet\/","title":{"rendered":"Avoid Oracle Passwords in cleartext with KeePass and Oracle Wallet"},"content":{"rendered":"\n<h2 id=\"h-interactive-work\" class=\"wp-block-heading\">Interactive work<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">How to avoid cleartext passwords with Oracle? In this post I will focus on databases with traditional accounts with username\/password, and not on other authentication methods like kerberos (AD). For interactive work, it is not a problem, you can iteractively type the password<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sqlplus myuser@mydb\n....\nEnter password:<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">At least on Linux, the sqlplus and rman tool will rewrite the commandline and hide the arguments. Even if you login with user\/password, it is not visible in the ps output for other users. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$  ps -ef |grep sqlplus |grep -v grep\noracle    265034  259996  0 10:06 pts\/8    00:00:00 sqlplus<\/code><\/pre>\n\n\n\n<h2 id=\"h-automation\" class=\"wp-block-heading\">Automation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">But for automation you usually need a password stored somewhere. Maybe you can get around that with OS authentication. That works well for all accounts with SYSDBA, SYSOPER, SYSBACKUP, &#8230; privileges<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;oracle] sqlplus \/ as sysdba\n&#091;john] sqlplus sys\/wrong-password as sysoper<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If your [OS-user] is in the OS-group of sysdba (usually &#8220;dba&#8221;) or sysoper (usually &#8220;oper&#8221;) and you specify &#8220;as sys*&#8221; , then username and password is completely ignored if you do a local connect (not for remote connect user<strong><em>@service<\/em><\/strong>) <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You are still using the non-cdb architecture? Also for normal users you can use OS-authentication. If your OS-user is &#8220;application&#8221;, create an OS-authenticated user<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SQL&gt; show parameter os_authent_prefix\nos_authent_prefix                    string      ops$\nSQL&gt; create user ops$application identified externally;\nSQL&gt; grant connect to ops$application;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">But for normal users in pluggable databases that does no longer work, It is only possible for sys and system as <a href=\"https:\/\/mikedietrichde.com\/2020\/07\/13\/pitfalls-connect-to-a-pdb-directly-with-oracle_pdb_sid\/\">Mike Dietrich<\/a> mentioned.<\/p>\n\n\n\n<h3 id=\"h-the-good-old-textfile\" class=\"wp-block-heading\">The &#8220;good old&#8221; textfile<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The alternative is to store the password in a file and to restrict the file-access so that only allowed users can read it.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>chmod 700 batchscript.sh<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Within the server, it will be well secured. But depending on the backup, the number of people with access to this file will increase, and so will increase the risk of misuse.<\/p>\n\n\n\n<h3 id=\"h-the-oracle-way-oracle-wallet\" class=\"wp-block-heading\">The Oracle way &#8211; Oracle Wallet<\/h3>\n\n\n\n<h4 id=\"h-overview-and-introduction\" class=\"wp-block-heading\">Overview and introduction<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">The Oracle wallet is based on a <a href=\"https:\/\/en.wikipedia.org\/wiki\/PKCS_12\">PKCS#12 archive file<\/a> to store many cryptographic objects like private keys or certificates. Oracle can store passwords of users in it. This file is named ewallet.p12 and is password-protected.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To prevent Oracle from having to store a password for the ewallet.p12 file, it uses a trick. Every time we make a change, we have to unlock the ewallet.p12 file with the password. The Oracle tools orapki and mkstore then write the data simultaneously to the ewallet.p12 file and to a proprietary file named cwallet.sso. <br>Never edit the ewallet.p12 file with non-Oracle tools (e.g. openssl)! <br>Oracle has 3 types of auto-login wallets:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>auto-login : If you have the cwallet.sso file, you can use via Oracle-tools the credentials in it without providing a password.<\/li>\n\n\n\n<li>auto-login-local : like above, but it only works for the user and the host it was created. If you copy it to another host, it does not work.<\/li>\n\n\n\n<li>auto-login-only : There is no ewallet.p12 file, only the cwallte.sso and the content is readable without providing a password.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">To see what type of wallet it is, see my blog post <a href=\"https:\/\/www.dbi-services.com\/blog\/different-types-of-oracle-wallets\/\" data-type=\"post\" data-id=\"38143\">Different types of Oracle wallets<\/a>.<\/p>\n\n\n\n<h4 id=\"h-how-to-implement\" class=\"wp-block-heading\">How to implement<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">All Oracle tools like sqlplus, rman or dgmgrl have direct access to the stored passwords in the proprietary cwallet.sso; Let&#8217;s see how to configure it: Create the wallet and add a credential.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir -p \/u01\/app\/oracle\/network\/wallet\ncd \/u01\/app\/oracle\/network\/wallet  # from now on, \".\" refers to the current dir.\norapki wallet create -wallet . -auto_login_local \nmkstore -wrl . -createCredential alias.domain.ch user password\nmkstore -wrl . -createCredential mydb myuser myPasswd<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">the 1st argument after createCredential must be resolvable by tnsping. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now we have to configure that the wallet should be used, and where it is. This is done in the sqlnet.ora file. I strongly recommend to not configure it globally, but only for users that need it. If there is a problem, that can block the login of all users! For these users, we can configure a different TNS_ADMIN directory. I will use the wallet directory itself.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/u01\/app\/oracle\/network\/wallet\nln -s \/u01\/app\/oracle\/network\/admin\/*.ora . #symlink the files from normal TNS_ADMIN\nrm sqlnet.ora\ncp \/u01\/app\/oracle\/network\/admin\/sqlnet.ora .\nvi sqlnet.ora   #add the following lines<\/code><\/pre>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nSQLNET.WALLET_OVERRIDE = TRUE\nWALLET_LOCATION=(\n  SOURCE=(METHOD=FILE)\n  (METHOD_DATA=(DIRECTORY=\/u01\/app\/oracle\/network\/wallet))\n)\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Now we are ready to connect<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sqlplus \/@mydb\n...\nLast Successful login time: Tue Nov 17 2026 10:15:26 +01:00\n\nConnected to:\nOracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production\nVersion 19.7.0.0.0\n\nSQL&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">It works \ud83d\ude42<br>You specify \/ and the alias. You will not provide the username. Oracle looks for username\/password for this alias. This means that we now have to create a separate alias for each user\/service combination and update this additional alias in tnsnames.ora or <a href=\"https:\/\/www.dbi-services.com\/blog\/setup-an-ldap-server-for-oracle-naming-on-enterprise-linux-9\/\" data-type=\"post\" data-id=\"46966\">LDAP<\/a>. If each user has their own wallet and their own TNS_ADMIN, then we can continue to use the global alias. However, for administrative purposes where we need SYS and SYSTEM, we will likely have to create two aliases: mydb_sys and mydb_system.<\/p>\n\n\n\n<h3 id=\"h-keepass\" class=\"wp-block-heading\">KeePass<\/h3>\n\n\n\n<h4 id=\"h-introduction\" class=\"wp-block-heading\">Introduction<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/keepass.info\/\">KeePass<\/a> or <a href=\"https:\/\/keepassxc.org\/\">KeePassXC<\/a> are well-known password managers on Windows and Linux. Both programs can use the same passwod files, usually with the ending .kdbx<br>What is less well known is that the file can also be read and written using Perl from the command line. If you use a central KeePass file that can be centrally accessed by the DBA&#8217;s, and it is also avaliable on the db-servers, then you can use it interactively on your desktop, and for automation on the servers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There are 2 modules available:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>File::KeePass\n<ul class=\"wp-block-list\">\n<li>Less additional modules required. An Oracle perl additionally needs Crypt::Rijndael<\/li>\n\n\n\n<li>Supports password and keyfile<\/li>\n\n\n\n<li>Unfortunately only understands the older KeePass &lt; V4 files (KeePass automatically converts to V4, with KeePassXC you can configure)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>File::KDBX\n<ul class=\"wp-block-list\">\n<li>More additional modules required<\/li>\n\n\n\n<li>Understands the latest KeePass file format<\/li>\n\n\n\n<li>Working with keyfile seems not to work (at least not documented how to specify the file)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h4 id=\"h-implementation-with-file-kdbx\" class=\"wp-block-heading\">Implementation with File::KDBX<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Easiest way is to use the Perl of the server-OS, e.g. for an Oracle Enterprise Linux. Enable the EPEL repo and in oracle-linux-ol10.repo the ol10_addons and ol10_codeready_builder<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> dnf install \\\n  perl \\\n  perl-Crypt-Rijndael \\\n  perl-Digest-SHA \\\n  perl-Compress-Raw-Zlib \\\n  perl-XML-Parser \\\n  perl-CryptX \\\n  perl-Time-Piece \\\n  perl-XML-LibXML \\\n  perl-Devel-GlobalDestruction \\\n  perl-Ref-Util \\\n  perl-Scope-Guard \\\n  perl-Test-Deep \\\n  perl-Test-Fatal \\\n  perl-Test-Warnings \\\n  perl-boolean \\\n  perl-namespace-clean \\\n  perl-App-cpanminus<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The modules not in the repository can be added with cpanm (it also installs the dependencies for these 2 modules)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> cpanm File::KDBX\n cpanm File::KeePass:KDBX<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now let&#8217;s see if it generally works. Copy an existing &#8220;Database.kdbx&#8221; file to the script location, adapt the password and run below test-script.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: perl; title: ; notranslate\" title=\"\">\n#!\/usr\/bin\/env perl\n  use File::KeePass::KDBX;\n  my $k = File::KeePass::KDBX-&gt;new;\n  $k-&gt;load_db(&#039;Database.kdbx&#039;, &#039;KeePass-Password&#039;) or die;\n  my $groups = $k-&gt;groups-&gt;&#x5B;0];\n  use Data::Dumper;  print Dumper(\\$groups);\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">I will not focus on how to lookup the passwords. For dbi-services customers, you can use the <a href=\"https:\/\/dbi-services.gitbook.io\/dmk-oracle-manual\">DMK package 2.3<\/a> (currently beta), which provides getpw.pl, setpw.pl and delpw.pl scripts. Examples:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>getpw.pl system@pdb01 #returns system\/Pa55word@pdb01 (*)\ngetpw.pl -p system@pdb01 #only prints the password (*)\ngetpw.pl -l  #list all \"\/group\/: user@alias\"\nsqlplus $(getpw.pl system@pdb01) #directly use the output for login in sqlplus\nsetpw.pl sys\/Pa55word@CDB03\nsetpw.pl sys@CDB03  #interactively asks for password (hidden)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">(*) If interactively used, getpw.pl prints the password in red font on red background. With this trick, it is not directly human-readable, but you can use it for copy\/paste. If you want to see it human-readable, use the -r option<\/p>\n\n\n\n<h4 id=\"h-encrypting-a-password\" class=\"wp-block-heading\">Encrypting a password<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">The main focus in this blog post is to hide the passwords. How we can hide the password of KeePass itself?<br>For that, I use the SSH RSA key-pair for encryption and decryption. These files are hopefully well-protected! If you do not yet have such a key-pair, create a new one, otherwise convert the existing key to the PEM format.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ssh-keygen -t rsa -b 2048 -m PEM -N '' -f $ssh_rsa_key\ncp -p $ssh_rsa_key  $ssh_rsa_key.kp.pem &amp;&amp; ssh-keygen -p -m PEM -f $ssh_rsa_key.kp.pem -N ''<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To encrypt the password, use the public key in PEM format. It can be derived from the private key.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openssl rsa -in $ssh_rsa_key.kp.pem -pubout -out \/tmp\/pub$$.pem\nencrypted_pwd=`echo '$cleartext' | openssl pkeyutl -encrypt -pubin -inkey \/tmp\/pub$$.pem |base64`\nrm -f \/tmp\/pub$$.pem<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To decrypt the password, use <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo \"$encrypted_pwd\" |base64 -d |openssl pkeyutl -decrypt -inkey $ssh_rsa_key.kp.pem<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Whenever possible, store the keepass file, the ssh-key and the encrypted password, whenever possible, on different storage that will be backed up differently. If someone have access to the backup. it needs the backup of all volumes, which increases the complexity.<br>Also possible would be to store the encrypted password in a database, then it is separated from the OS backup.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Interactive work How to avoid cleartext passwords with Oracle? In this post I will focus on databases with traditional accounts with username\/password, and not on other authentication methods like kerberos (AD). For interactive work, it is not a problem, you can iteractively type the password At least on Linux, the sqlplus and rman tool will&hellip;&nbsp;<\/p>\n","protected":false},"author":123,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","neve_meta_reading_time":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[4133,59],"tags":[],"class_list":["post-48650","post","type-post","status-publish","format-standard","category-database","category-oracle"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.8 (Yoast SEO v28.8) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Avoid Oracle Passwords in cleartext with KeePass and Oracle Wallet - dbi services Blog<\/title>\n<meta name=\"description\" content=\"how to avoid cleartext passwords or hide it if we work with Oracle databases. Possibilities: os-authentication, keepass, Wallet\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/avoid-oracle-passwords-in-cleartext-with-keepass-and-wallet\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Avoid Oracle Passwords in cleartext with KeePass and Oracle Wallet\" \/>\n<meta property=\"og:description\" content=\"how to avoid cleartext passwords or hide it if we work with Oracle databases. Possibilities: os-authentication, keepass, Wallet\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/avoid-oracle-passwords-in-cleartext-with-keepass-and-wallet\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi services Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/dbiservices\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-17T17:16:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-17T17:18:24+00:00\" \/>\n<meta name=\"author\" content=\"Martin Bracher\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:site\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Martin Bracher\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/avoid-oracle-passwords-in-cleartext-with-keepass-and-wallet\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/avoid-oracle-passwords-in-cleartext-with-keepass-and-wallet\\\/\"},\"author\":{\"name\":\"Martin Bracher\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/0f2e8e5d3ccbf8a0917dd46e6956367c\"},\"headline\":\"Avoid Oracle Passwords in cleartext with KeePass and Oracle Wallet\",\"datePublished\":\"2026-11-17T17:16:57+00:00\",\"dateModified\":\"2026-11-17T17:18:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/avoid-oracle-passwords-in-cleartext-with-keepass-and-wallet\\\/\"},\"wordCount\":1144,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"articleSection\":[\"Database\",\"Oracle\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/avoid-oracle-passwords-in-cleartext-with-keepass-and-wallet\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/avoid-oracle-passwords-in-cleartext-with-keepass-and-wallet\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/avoid-oracle-passwords-in-cleartext-with-keepass-and-wallet\\\/\",\"name\":\"Avoid Oracle Passwords in cleartext with KeePass and Oracle Wallet - dbi services Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"datePublished\":\"2026-11-17T17:16:57+00:00\",\"dateModified\":\"2026-11-17T17:18:24+00:00\",\"description\":\"how to avoid cleartext passwords or hide it if we work with Oracle databases. Possibilities: os-authentication, keepass, Wallet\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/avoid-oracle-passwords-in-cleartext-with-keepass-and-wallet\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/avoid-oracle-passwords-in-cleartext-with-keepass-and-wallet\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/avoid-oracle-passwords-in-cleartext-with-keepass-and-wallet\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Avoid Oracle Passwords in cleartext with KeePass and Oracle Wallet\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi services Blog\",\"description\":\"#BeSharing\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\",\"name\":\"dbi services\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"width\":512,\"height\":512,\"caption\":\"dbi services\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/dbiservices\\\/\",\"https:\\\/\\\/x.com\\\/dbiservices\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/dbi-services\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/dbiservices\"],\"description\":\"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.\",\"email\":\"info@dbi-services.com\",\"telephone\":\"+41 32 422 96 00\",\"legalName\":\"dbi services SA\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/0f2e8e5d3ccbf8a0917dd46e6956367c\",\"name\":\"Martin Bracher\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/martin_bracher_2048x1536.jpg\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/martin_bracher_2048x1536.jpg\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/martin_bracher_2048x1536.jpg\",\"caption\":\"Martin Bracher\"},\"description\":\"Martin Bracher has more than 25 years of experience managing Oracle infrastructures, specializing in high availability (Data Guard, Grid Infrastructure), migrations, and automation with Shell scripting, Ansible, and Saltstack. He leads the Grid Infrastructure Workshop and contributes to the development of the DMK Database Management Kit and the YaK Oracle component. Prior to dbi services, he was Principal Consultant at Trivadis AG (Accenture) and Consultant at Opitz Consulting and CSC Ploenzke. He holds a Dipl. Phil. Nat. in Informatics from the University of Bern. His industry experience covers banking, telecommunications, and public administration.\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/martin-bracher\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Avoid Oracle Passwords in cleartext with KeePass and Oracle Wallet - dbi services Blog","description":"how to avoid cleartext passwords or hide it if we work with Oracle databases. Possibilities: os-authentication, keepass, Wallet","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/avoid-oracle-passwords-in-cleartext-with-keepass-and-wallet\/","og_locale":"en_US","og_type":"article","og_title":"Avoid Oracle Passwords in cleartext with KeePass and Oracle Wallet","og_description":"how to avoid cleartext passwords or hide it if we work with Oracle databases. Possibilities: os-authentication, keepass, Wallet","og_url":"https:\/\/www.dbi-services.com\/blog\/avoid-oracle-passwords-in-cleartext-with-keepass-and-wallet\/","og_site_name":"dbi services Blog","article_publisher":"https:\/\/www.facebook.com\/dbiservices\/","article_published_time":"2026-11-17T17:16:57+00:00","article_modified_time":"2026-11-17T17:18:24+00:00","author":"Martin Bracher","twitter_card":"summary_large_image","twitter_creator":"@dbiservices","twitter_site":"@dbiservices","twitter_misc":{"Written by":"Martin Bracher","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/avoid-oracle-passwords-in-cleartext-with-keepass-and-wallet\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/avoid-oracle-passwords-in-cleartext-with-keepass-and-wallet\/"},"author":{"name":"Martin Bracher","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/0f2e8e5d3ccbf8a0917dd46e6956367c"},"headline":"Avoid Oracle Passwords in cleartext with KeePass and Oracle Wallet","datePublished":"2026-11-17T17:16:57+00:00","dateModified":"2026-11-17T17:18:24+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/avoid-oracle-passwords-in-cleartext-with-keepass-and-wallet\/"},"wordCount":1144,"commentCount":0,"publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"articleSection":["Database","Oracle"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/avoid-oracle-passwords-in-cleartext-with-keepass-and-wallet\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/avoid-oracle-passwords-in-cleartext-with-keepass-and-wallet\/","url":"https:\/\/www.dbi-services.com\/blog\/avoid-oracle-passwords-in-cleartext-with-keepass-and-wallet\/","name":"Avoid Oracle Passwords in cleartext with KeePass and Oracle Wallet - dbi services Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2026-11-17T17:16:57+00:00","dateModified":"2026-11-17T17:18:24+00:00","description":"how to avoid cleartext passwords or hide it if we work with Oracle databases. Possibilities: os-authentication, keepass, Wallet","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/avoid-oracle-passwords-in-cleartext-with-keepass-and-wallet\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/avoid-oracle-passwords-in-cleartext-with-keepass-and-wallet\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/avoid-oracle-passwords-in-cleartext-with-keepass-and-wallet\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Avoid Oracle Passwords in cleartext with KeePass and Oracle Wallet"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi services Blog","description":"#BeSharing","publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dbi-services.com\/#organization","name":"dbi services","url":"https:\/\/www.dbi-services.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","width":512,"height":512,"caption":"dbi services"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/dbiservices\/","https:\/\/x.com\/dbiservices","https:\/\/www.linkedin.com\/company\/dbi-services\/","https:\/\/www.youtube.com\/user\/dbiservices"],"description":"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.","email":"info@dbi-services.com","telephone":"+41 32 422 96 00","legalName":"dbi services SA"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/0f2e8e5d3ccbf8a0917dd46e6956367c","name":"Martin Bracher","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2025\/05\/martin_bracher_2048x1536.jpg","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2025\/05\/martin_bracher_2048x1536.jpg","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2025\/05\/martin_bracher_2048x1536.jpg","caption":"Martin Bracher"},"description":"Martin Bracher has more than 25 years of experience managing Oracle infrastructures, specializing in high availability (Data Guard, Grid Infrastructure), migrations, and automation with Shell scripting, Ansible, and Saltstack. He leads the Grid Infrastructure Workshop and contributes to the development of the DMK Database Management Kit and the YaK Oracle component. Prior to dbi services, he was Principal Consultant at Trivadis AG (Accenture) and Consultant at Opitz Consulting and CSC Ploenzke. He holds a Dipl. Phil. Nat. in Informatics from the University of Bern. His industry experience covers banking, telecommunications, and public administration.","url":"https:\/\/www.dbi-services.com\/blog\/author\/martin-bracher\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/48650","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/123"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=48650"}],"version-history":[{"count":4,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/48650\/revisions"}],"predecessor-version":[{"id":48701,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/48650\/revisions\/48701"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=48650"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=48650"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=48650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}