{"id":37775,"date":"2020-08-18T09:03:48","date_gmt":"2020-08-18T16:03:48","guid":{"rendered":"https:\/\/virtual-dba.com\/?p=37775"},"modified":"2021-02-10T18:15:11","modified_gmt":"2021-02-11T01:15:11","slug":"oracle-create-a-wallet-store-secure-user-credentials-for-rman","status":"publish","type":"post","link":"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/","title":{"rendered":"Oracle Create a Wallet to Store Secure User Credentials for RMAN Connection"},"content":{"rendered":"\n<p>In this blog, I&#8217;ll be giving a tutorial on an Oracle hidden gem using an Oracle tool to securely allow you to run RMAN without passing the password in cleartext. The Oracle Database Secure External Password Store feature, which does not require any additional license to use, will allow you to set up a wallet to enable user credentials to be stored within it. Therefore, allowing the Oracle OS user to use an alias to connect to the database without the need to enter the username or password.<\/p>\n\n\n\n<p><strong>Scenario:<\/strong> You want to connect to RMAN to run backups as the Oracle OS user. You are using an RMAN recovery catalog, so you must connect to both the CATALOG and the TARGET database. You are currently passing in the user and password for both. You need a solution where users and passwords are not stored in plain text files on the OS or passed on the Linux command line where it could be stored in .bash_history.<\/p>\n\n\n\n<p>Here is the test environment used for this tutorial:<\/p>\n\n\n\n<p>Linux 6<\/p>\n\n\n\n<p>Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 &#8211; 64bit<\/p>\n\n\n\n<p>The present connection you use looks somewhat like the following below (note: this is just a test system). You are currently passing the following syntax manually on the command line, or you have a shell script with the user\/password hardcoded in a text file. CDB is the database as defined in the tnsnames.ora file:<\/p>\n\n\n<p><code>rman catalog rmansys\/welcome1@rmancat target sys\/welcome1@cdb<\/code><\/p>\n\n\n<p><strong>The first step in using a secure wallet is to create the wallet and directory where the wallet files reside:<\/strong><\/p>\n\n\n\n<p>Create a new directory for the &#8216;wallet&#8217; in the ORACLE_HOME\/network directory (or any directory you choose):<\/p>\n\n\n<p><code>echo $ORACLE_HOME<br>\n\/u01\/app\/oracle\/product\/12.1.0.2\/dbhome_1<br>\ncd $ORACLE_HOME<br>\ncd network<br>\nmkdir wallet<br>\n<\/code><\/p>\n\n\n<p>You have now created the wallet directory, and now need to edit the sqlnet.ora to tell the Oracle NET connections where to look for the wallet information.<\/p>\n\n\n<p><code>cd $ORACLE_HOME\/network\/admin<\/code><\/p>\n\n\n<p>Modify the sqlnet.ora and add the WALLET_LOCATION and SQLNET.WALLET_OVERRIDE parameter to start using the Secure External Password Store:<\/p>\n\n\n<pre><code>vi sqlnet.ora\nWALLET_LOCATION =\n   (SOURCE =\n  \t(METHOD = FILE)\n  \t(METHOD_DATA = (DIRECTORY=\/u01\/app\/oracle\/product\/12.1.0.2\/dbhome_1\/network\/wallet))\n    )\nSQLNET.WALLET_OVERRIDE = TRUE\n \n<\/code><\/pre>\n\n\n<p>The sqlnet.ora parameter, <strong>SQLNET.WALLET_OVERRIDE=TRUE<\/strong>, is how we tell the Oracle client to use the wallet manager opposed to the standard OS Authentication.<\/p>\n\n\n\n<p>Your sqlnet.ora may now look similar to the following. If you didn&#8217;t already have a sqlnet.ora file, then you must create it and add the wallet location information.<\/p>\n\n\n\n<p>Next, you will add a new entry in the tnsnames.ora file for the RMAN catalog connection. Note: only one user\/password credential can be stored per connect string. In this TNS entry, we are only storing the RMAN recovery catalog user credential.<\/p>\n\n\n\n<p>Note: only one password may be stored in the wallet per TNS alias. This works fine in our example because we only need one user to connect to the RMAN catalog and one user to connect to the target database (sys) that we will use to backup or restore the database.<\/p>\n\n\n<pre><code>vi tnsnames.ora\n \ncatalog  =\n  (DESCRIPTION =\n\t(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))\n\t(CONNECT_DATA =\n  \t(SERVER = DEDICATED)\n  \t(SERVICE_NAME = rmancat)\n  \t(SID = rmancat)\n\t)\n  )\n<\/code><\/pre>\n\n\n<p>Verify the new connection string works<\/p>\n\n\n\n<p>tnsping catalog<\/p>\n\n\n\n<p>TNS Ping Utility for Linux: Version 12.1.0.2.0 &#8211; Production on 14-JUL-2020 12:40:12<\/p>\n\n\n\n<p>Copyright (c) 1997, 2014, Oracle. All rights reserved.<\/p>\n\n\n\n<p>Used parameter files:<\/p>\n\n\n\n<p>\/u01\/app\/oracle\/product\/12.1.0.2\/dbhome_1\/network\/admin\/sqlnet.ora<\/p>\n\n\n\n<p>Used TNSNAMES adapter to resolve the alias<\/p>\n\n\n\n<p>Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = rmancat) (SID = rmancat)))<\/p>\n\n\n\n<p>OK (0 msec)<\/p>\n\n\n\n<p><strong>Now, you are ready to create the secure wallet for the RMAN recovery catalog user and password.<\/strong><\/p>\n\n\n\n<p>The first step is to create the wallet, using the &#8220;-create command.&#8221; This command will prompt you for the &#8220;wallet password,&#8221; which is only for the wallet and not the user password in the database.<\/p>\n\n\n\n<p>mkstore -wrl \/u01\/app\/oracle\/product\/12.1.0.2\/dbhome_1\/network\/wallet -create<\/p>\n\n\n\n<p>Oracle Secret Store Tool : Version 12.1.0.2<\/p>\n\n\n\n<p>Copyright (c) 2004, 2014, Oracle and\/or its affiliates. All rights reserved.<\/p>\n\n\n\n<p>Enter password:<\/p>\n\n\n\n<p>Enter password again:<\/p>\n\n\n\n<p><strong>(My test wallet password in this tutorial was &#8220;welcome1.&#8221; On your production system, you will want a much more secure password. You will then need to remember this password for future maintenance.)<\/strong><\/p>\n\n\n\n<p>Next, you will create the RMAN recovery catalog user &#8220;rmansys,&#8221; which is my example credentials in the wallet, using the &#8220;-createCredential&#8221; command. You&#8217;ll need to include three parameters: 1) connection string (catalog), 2) user (rmansys), and 3) password (welcome1). Again, you will be prompted to enter the main wallet password, which you created in the previous step.<\/p>\n\n\n\n<p>mkstore -wrl \/u01\/app\/oracle\/product\/12.1.0.2\/dbhome_1\/network\/wallet -createCredential catalog rmansys welcome1<\/p>\n\n\n\n<p>Oracle Secret Store Tool : Version 12.1.0.2<\/p>\n\n\n\n<p>Copyright (c) 2004, 2014, Oracle and\/or its affiliates. All rights reserved.<\/p>\n\n\n\n<p>Enter wallet password:<\/p>\n\n\n\n<p>Create credential oracle.security.client.connect_string1<\/p>\n\n\n\n<p><strong>Now, we can connect to the RMAN recovery catalog without passing in the catalog credentials. However, we also want to hide the target database credentials.<\/strong><\/p>\n\n\n\n<p>[oracle@bigdatalite admin]$ rman catalog \/@catalog target sys\/welcome1@cdb<\/p>\n\n\n\n<p>Recovery Manager: Release 12.1.0.2.0 &#8211; Production on Wed Jun 19 17:49:34 2019<\/p>\n\n\n\n<p>Copyright (c) 1982, 2014, Oracle and\/or its affiliates. All rights reserved.<\/p>\n\n\n\n<p>connected to target database: CDB (DBID=2127236908)<\/p>\n\n\n\n<p>connected to recovery catalog database<\/p>\n\n\n\n<p>RMAN&gt; exit<\/p>\n\n\n\n<p>Once again, we will add a connect string to the tnsnames.ora file for the &#8220;target&#8221; database user and password. As you see in this example, I am naming the tns alias &#8220;target.&#8221; This is because that is how I am referring to the alias in the RMAN connection string. In the tnsnames.ora, the sid and service_name is defined as the actual database name for the target database that will be backed up by RMAN. Along with the appropriate host and port for the actual target database.<\/p>\n\n\n<pre><code>vi tnsnames.ora\n \ntarget  =\n  (DESCRIPTION =\n\t(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))\n\t(CONNECT_DATA =\n  \t(SERVER = DEDICATED)\n  \t(SERVICE_NAME = cdb)\n  \t(SID = cdb)\n\t)\n  )\n<\/code><\/pre>\n\n\n<p>Verify the new connection string works<\/p>\n\n\n\n<p>tnsping target<\/p>\n\n\n\n<p>TNS Ping Utility for Linux: Version 12.1.0.2.0 &#8211; Production on 14-JUL-2020 12:57:14<\/p>\n\n\n\n<p>Copyright (c) 1997, 2014, Oracle. All rights reserved.<\/p>\n\n\n\n<p>Used parameter files:<\/p>\n\n\n\n<p>\/u01\/app\/oracle\/product\/12.1.0.2\/dbhome_1\/network\/admin\/sqlnet.ora<\/p>\n\n\n\n<p>Used TNSNAMES adapter to resolve the alias<\/p>\n\n\n\n<p>Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = cdb) (SID = cdb)))<\/p>\n\n\n\n<p>OK (0 msec)<\/p>\n\n\n\n<p><strong>Then, we will add another credential to the wallet that already exists. This time we will include &#8220;target&#8221; as the connect string, &#8220;sys&#8221; as the sys user in the target database, and the appropriate sys password.<\/strong><\/p>\n\n\n\n<p>mkstore -wrl \/u01\/app\/oracle\/product\/12.1.0.2\/dbhome_1\/network\/wallet -createCredential target sys welcome1<\/p>\n\n\n\n<p>Oracle Secret Store Tool : Version 12.1.0.2<\/p>\n\n\n\n<p>Copyright (c) 2004, 2014, Oracle and\/or its affiliates. All rights reserved.<\/p>\n\n\n\n<p>Enter wallet password:<\/p>\n\n\n\n<p>Create credential oracle.security.client.connect_string2<\/p>\n\n\n\n<p><strong>There you have it! You can now securely log into the RMAN catalog and connect to the target database as sys without displaying the passwords.<\/strong><\/p>\n\n\n\n<p>rman catalog \/@catalog target \/@target<\/p>\n\n\n\n<p>Recovery Manager: Release 12.1.0.2.0 &#8211; Production on Wed Jun 19 17:53:46 2019<\/p>\n\n\n\n<p>Copyright (c) 1982, 2014, Oracle and\/or its affiliates. All rights reserved.<\/p>\n\n\n\n<p>connected to target database: CDB (DBID=2127236908)<\/p>\n\n\n\n<p>connected to recovery catalog database<\/p>\n\n\n\n<p>RMAN&gt; sql select name from v$database;<\/p>\n\n\n\n<p>NAME<\/p>\n\n\n\n<p>&#8212;&#8212;&#8212;<\/p>\n\n\n\n<p>CDB<\/p>\n\n\n\n<p>RMAN&gt; sql select user from dual;<\/p>\n\n\n\n<p>USER                     <\/p>\n\n\n\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/p>\n\n\n\n<p>SYS<\/p>\n\n\n\n<p><strong>To list the contents of the wallet store, you just need to issue the following command:<\/strong><\/p>\n\n\n\n<p>mkstore -wrl \/u01\/app\/oracle\/product\/12.1.0.2\/dbhome_1\/network\/wallet -listCredential<\/p>\n\n\n\n<p>Oracle Secret Store Tool : Version 12.1.0.2<\/p>\n\n\n\n<p>Copyright (c) 2004, 2014, Oracle and\/or its affiliates. All rights reserved.<\/p>\n\n\n\n<p>Enter wallet password:<\/p>\n\n\n\n<p>List credential (index: connect_string username)<\/p>\n\n\n\n<p>2: target sys<\/p>\n\n\n\n<p>1: catalog rmansys<\/p>\n\n\n\n<p><strong>Note: In version 12.1, I can still connect to sqlplus on the Linux command line as sysdba without passing in a password, thus using OS authentication.<\/strong><\/p>\n\n\n\n<p>sqlplus \/ as sysdba<\/p>\n\n\n\n<p>SQL*Plus: Release 12.1.0.2.0 Production on Tue Jul 14 13:00:00 2020<\/p>\n\n\n\n<p>Copyright (c) 1982, 2014, Oracle. All rights reserved.<\/p>\n\n\n\n<p>Connected to:<\/p>\n\n\n\n<p>Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 &#8211; 64bit Production<\/p>\n\n\n\n<p>With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options<\/p>\n\n\n\n<p>SQL&gt; select user from dual;<\/p>\n\n\n\n<p>USER<\/p>\n\n\n\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/p>\n\n\n\n<p>SYS<\/p>\n\n\n\n<p>SQL&gt;  select name from v$database;<\/p>\n\n\n\n<p>NAME<\/p>\n\n\n\n<p>&#8212;&#8212;&#8212;<\/p>\n\n\n\n<p>CDB<\/p>\n\n\n\n<p>I&#8217;d like to offer one final word to clarify how you can ensure not just any OS user can now access the databases by using the connection string &#8220;target&#8221; or &#8220;catalog.&#8221; The wallet location directory permissions should be set to ensure that only the Oracle OS user (and maybe the Oracle group, if so desired) has access to use the wallet. All other OS users will still need to enter a user and password to connect to the appropriate databases. By default, the wallet files only have read-write permissions for the Oracle OS user that created the wallet.<\/p>\n\n\n\n<p>[oracle@bigdatalite ~]$ cd $ORACLE_HOME\/network\/wallet<\/p>\n\n\n\n<p>-rw&#8212;&#8212;-.  1 oracle oinstall  904 Jul 14 12:50 ewallet.p12<\/p>\n\n\n\n<p>-rw&#8212;&#8212;-.  1 oracle oinstall  949 Jul 14 12:50 cwallet.sso<\/p>\n\n\n\n<p>In this example, the OS user &#8220;test&#8221; (this could be a developer on your server) has the same OS group as the Oracle user. However, the wallet location was secured, but taking away rights to the group oinstall. Therefore, an error occurs when the test OS user attempts to connect using the @catalog.<\/p>\n\n\n\n<p>[test@bigdatalite ~]$ id test<\/p>\n\n\n\n<p>uid=501(test) gid=54321(oinstall) groups=54321(oinstall)<\/p>\n\n\n\n<p>[test@bigdatalite ~]$ sqlplus \/@catalog<\/p>\n\n\n\n<p>SQL*Plus: Release 12.1.0.2.0 Production on Tue Jul 14 13:25:57 2020<\/p>\n\n\n\n<p>Copyright (c) 1982, 2014, Oracle. All rights reserved.<\/p>\n\n\n\n<p>ERROR:<\/p>\n\n\n\n<p>ORA-12578: TNS:wallet open failed<\/p>\n\n\n\n<p>Enter user-name:<\/p>\n\n\n\n<p><strong>If you instead decide to allow access to OS users in the oinstall group, then the following permissions are needed for the credential file only:<\/strong><\/p>\n\n\n\n<p>Su &#8211; oracle<\/p>\n\n\n\n<p>[oracle@bigdatalite wallet]$ chmod 660 cwallet.sso<\/p>\n\n\n\n<p>[oracle@bigdatalite wallet]$ ls -l<\/p>\n\n\n\n<p>total 8<\/p>\n\n\n\n<p>-rw-rw&#8212;-. 1 oracle oinstall 949 Jul 14 12:50 cwallet.sso<\/p>\n\n\n\n<p>-rw-rw-rw-. 1 oracle oinstall   0 Jul 14 12:41 cwallet.sso.lck<\/p>\n\n\n\n<p>-rw&#8212;&#8212;-. 1 oracle oinstall 904 Jul 14 12:50 ewallet.p12<\/p>\n\n\n\n<p>-rw-rw-rw-. 1 oracle oinstall   0 Jul 14 12:41 ewallet.p12.lck<\/p>\n\n\n\n<p><strong>Now, any OS user with the same group as the Oracle user can log into sqlplus using the wallet by way of the tns alias created without the need to enter a user and password.<\/strong><\/p>\n\n\n\n<p>su &#8211; test<\/p>\n\n\n\n<p>[test@bigdatalite network]$ sqlplus \/@catalog<\/p>\n\n\n\n<p>SQL*Plus: Release 12.1.0.2.0 Production on Tue Jul 14 13:47:14 2020<\/p>\n\n\n\n<p>Copyright (c) 1982, 2014, Oracle. All rights reserved.<\/p>\n\n\n\n<p>Last Successful login time: Tue Jul 14 2020 13:41:32 -04:00<\/p>\n\n\n\n<p>Connected to:<\/p>\n\n\n\n<p>Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 &#8211; 64bit Production<\/p>\n\n\n\n<p>With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options<\/p>\n\n\n\n<p>This tutorial went over a real-world example of using the Oracle Wallet Tool&#8217;s secure external password feature. As security best practices you should not be passing database credentials in clear text on your Linux server. This tool is a helpful way to keep database credentials hidden and secure.<\/p>\n\n\n\n<p>If you have any comments regarding secure external credentials using the Oracle Wallet tool, don&#8217;t hesitate to reach out to us <a href=\"https:\/\/virtual-dba.com\/contact-us\/\">here<\/a> or via the comments below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog, I&#8217;ll be giving a tutorial on an Oracle hidden gem using an Oracle tool to securely allow you to run RMAN without passing the password in cleartext. The Oracle Database Secure External Password Store feature, which does not require any additional license to use, will allow you to set up a wallet [&hellip;]<\/p>\n","protected":false},"author":38,"featured_media":37783,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","content-type":"","footnotes":""},"categories":[4166,23],"tags":[24,4106,4075],"class_list":["post-37775","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-oracle","tag-database-backup","tag-oracle-12c","tag-rman"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.1 (Yoast SEO v27.1.1) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Create a Wallet to Store Secure User Credentials for RMAN Connection<\/title>\n<meta name=\"description\" content=\"This blog is a tutorial using an Oracle tool to securely allow you to run RMAN without passing the password in cleartext.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Oracle Create a Wallet to Store Secure User Credentials for RMAN Connection\" \/>\n<meta property=\"og:description\" content=\"This blog is a tutorial using an Oracle tool to securely allow you to run RMAN without passing the password in cleartext.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/\" \/>\n<meta property=\"og:site_name\" content=\"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts\" \/>\n<meta property=\"article:published_time\" content=\"2020-08-18T16:03:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-11T01:15:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/virtual-dba.com\/media\/Oracle-Create-a-Wallet-to-Store-Secure-User-Credentials-for-RMAN-Connection.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"557\" \/>\n\t<meta property=\"og:image:height\" content=\"291\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Cheryl Bryll\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@virtual_dba\" \/>\n<meta name=\"twitter:site\" content=\"@virtual_dba\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Cheryl Bryll\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/\"},\"author\":{\"name\":\"Cheryl Bryll\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/fa0ae91d91b6287541c2fec3169ab1bd\"},\"headline\":\"Oracle Create a Wallet to Store Secure User Credentials for RMAN Connection\",\"datePublished\":\"2020-08-18T16:03:48+00:00\",\"dateModified\":\"2021-02-11T01:15:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/\"},\"wordCount\":1707,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/virtual-dba.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Oracle-Create-a-Wallet-to-Store-Secure-User-Credentials-for-RMAN-Connection.jpg\",\"keywords\":[\"database backup\",\"Oracle 12c\",\"RMAN\"],\"articleSection\":[\"Blog\",\"Oracle\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/\",\"url\":\"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/\",\"name\":\"Create a Wallet to Store Secure User Credentials for RMAN Connection\",\"isPartOf\":{\"@id\":\"https:\/\/virtual-dba.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Oracle-Create-a-Wallet-to-Store-Secure-User-Credentials-for-RMAN-Connection.jpg\",\"datePublished\":\"2020-08-18T16:03:48+00:00\",\"dateModified\":\"2021-02-11T01:15:11+00:00\",\"description\":\"This blog is a tutorial using an Oracle tool to securely allow you to run RMAN without passing the password in cleartext.\",\"breadcrumb\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/#primaryimage\",\"url\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Oracle-Create-a-Wallet-to-Store-Secure-User-Credentials-for-RMAN-Connection.jpg\",\"contentUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Oracle-Create-a-Wallet-to-Store-Secure-User-Credentials-for-RMAN-Connection.jpg\",\"width\":557,\"height\":291,\"caption\":\"Oracle Create a Wallet to Store Secure User Credentials for RMAN Connection\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/virtual-dba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Oracle Create a Wallet to Store Secure User Credentials for RMAN Connection\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/virtual-dba.com\/#website\",\"url\":\"https:\/\/virtual-dba.com\/\",\"name\":\"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts\",\"description\":\"Remote Database Administration\",\"publisher\":{\"@id\":\"https:\/\/virtual-dba.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/virtual-dba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/virtual-dba.com\/#organization\",\"name\":\"Virtual-DBA: Remote DBA | Remote Database Administration\",\"alternateName\":\"Virtual-DBA powered by XTIVIA\",\"url\":\"https:\/\/virtual-dba.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg\",\"contentUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg\",\"width\":557,\"height\":291,\"caption\":\"Virtual-DBA: Remote DBA | Remote Database Administration\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/virtual_dba\",\"https:\/\/www.linkedin.com\/showcase\/36220649\/\",\"https:\/\/www.youtube.com\/channel\/UCx3AIeUQ2ziTLKZSJDZ-SEg\"],\"description\":\"Eliminate database downtime and spiraling costs with XTIVIA\u2019s Virtual-DBA. In today\u2019s always-on business world, gaps in 24x7 on-call DBA support, neglected maintenance and security, or a stretched team struggling with overwhelming workloads can lead to costly disruptions and threaten business continuity. XTIVIA\u2019s Virtual-DBA provides the immediate, expert database administration you need, exactly when you need it, ensuring optimal performance, ironclad security, and significant cost savings without the burden of expanding your in-house team. The goal of Virtual-DBA is to provide a cost-effective solution for organizations seeking to optimize the security, management, maintenance, availability, and performance of their critical business systems, whether self-managed or cloud-managed (e.g., AWS RDS, Azure SQL Database). We accomplish this through a comprehensive remote DBA service offering designed specifically to meet the Oracle\u00ae, DB2\u00ae, Informix\u00ae, MySQL\u2122, PostgreSQL\u00ae, MongoDB\u00ae, MariaDB, and Microsoft SQL Server\u00ae, CockroachDB, Databricks, AWS, and Azure needs of our clients.\",\"email\":\"info@xtivia.com\",\"telephone\":\"8886853101\",\"legalName\":\"XTIVIA, Inc\",\"foundingDate\":\"1992-05-01\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"201\",\"maxValue\":\"500\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/fa0ae91d91b6287541c2fec3169ab1bd\",\"name\":\"Cheryl Bryll\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5a2c4a2b6132262488d3550966c3827dfcbad921136695096285fc903e6a76be?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5a2c4a2b6132262488d3550966c3827dfcbad921136695096285fc903e6a76be?s=96&d=mm&r=g\",\"caption\":\"Cheryl Bryll\"},\"url\":\"https:\/\/virtual-dba.com\/author\/cheryl-lei-bryll\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Create a Wallet to Store Secure User Credentials for RMAN Connection","description":"This blog is a tutorial using an Oracle tool to securely allow you to run RMAN without passing the password in cleartext.","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:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/","og_locale":"en_US","og_type":"article","og_title":"Oracle Create a Wallet to Store Secure User Credentials for RMAN Connection","og_description":"This blog is a tutorial using an Oracle tool to securely allow you to run RMAN without passing the password in cleartext.","og_url":"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/","og_site_name":"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts","article_published_time":"2020-08-18T16:03:48+00:00","article_modified_time":"2021-02-11T01:15:11+00:00","og_image":[{"width":557,"height":291,"url":"https:\/\/virtual-dba.com\/media\/Oracle-Create-a-Wallet-to-Store-Secure-User-Credentials-for-RMAN-Connection.jpg","type":"image\/jpeg"}],"author":"Cheryl Bryll","twitter_card":"summary_large_image","twitter_creator":"@virtual_dba","twitter_site":"@virtual_dba","twitter_misc":{"Written by":"Cheryl Bryll","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/#article","isPartOf":{"@id":"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/"},"author":{"name":"Cheryl Bryll","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/fa0ae91d91b6287541c2fec3169ab1bd"},"headline":"Oracle Create a Wallet to Store Secure User Credentials for RMAN Connection","datePublished":"2020-08-18T16:03:48+00:00","dateModified":"2021-02-11T01:15:11+00:00","mainEntityOfPage":{"@id":"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/"},"wordCount":1707,"commentCount":0,"publisher":{"@id":"https:\/\/virtual-dba.com\/#organization"},"image":{"@id":"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/#primaryimage"},"thumbnailUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/Oracle-Create-a-Wallet-to-Store-Secure-User-Credentials-for-RMAN-Connection.jpg","keywords":["database backup","Oracle 12c","RMAN"],"articleSection":["Blog","Oracle"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/","url":"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/","name":"Create a Wallet to Store Secure User Credentials for RMAN Connection","isPartOf":{"@id":"https:\/\/virtual-dba.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/#primaryimage"},"image":{"@id":"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/#primaryimage"},"thumbnailUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/Oracle-Create-a-Wallet-to-Store-Secure-User-Credentials-for-RMAN-Connection.jpg","datePublished":"2020-08-18T16:03:48+00:00","dateModified":"2021-02-11T01:15:11+00:00","description":"This blog is a tutorial using an Oracle tool to securely allow you to run RMAN without passing the password in cleartext.","breadcrumb":{"@id":"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/#primaryimage","url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/Oracle-Create-a-Wallet-to-Store-Secure-User-Credentials-for-RMAN-Connection.jpg","contentUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/Oracle-Create-a-Wallet-to-Store-Secure-User-Credentials-for-RMAN-Connection.jpg","width":557,"height":291,"caption":"Oracle Create a Wallet to Store Secure User Credentials for RMAN Connection"},{"@type":"BreadcrumbList","@id":"https:\/\/virtual-dba.com\/blog\/oracle-create-a-wallet-store-secure-user-credentials-for-rman\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/virtual-dba.com\/"},{"@type":"ListItem","position":2,"name":"Oracle Create a Wallet to Store Secure User Credentials for RMAN Connection"}]},{"@type":"WebSite","@id":"https:\/\/virtual-dba.com\/#website","url":"https:\/\/virtual-dba.com\/","name":"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts","description":"Remote Database Administration","publisher":{"@id":"https:\/\/virtual-dba.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/virtual-dba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/virtual-dba.com\/#organization","name":"Virtual-DBA: Remote DBA | Remote Database Administration","alternateName":"Virtual-DBA powered by XTIVIA","url":"https:\/\/virtual-dba.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/","url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg","contentUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg","width":557,"height":291,"caption":"Virtual-DBA: Remote DBA | Remote Database Administration"},"image":{"@id":"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/virtual_dba","https:\/\/www.linkedin.com\/showcase\/36220649\/","https:\/\/www.youtube.com\/channel\/UCx3AIeUQ2ziTLKZSJDZ-SEg"],"description":"Eliminate database downtime and spiraling costs with XTIVIA\u2019s Virtual-DBA. In today\u2019s always-on business world, gaps in 24x7 on-call DBA support, neglected maintenance and security, or a stretched team struggling with overwhelming workloads can lead to costly disruptions and threaten business continuity. XTIVIA\u2019s Virtual-DBA provides the immediate, expert database administration you need, exactly when you need it, ensuring optimal performance, ironclad security, and significant cost savings without the burden of expanding your in-house team. The goal of Virtual-DBA is to provide a cost-effective solution for organizations seeking to optimize the security, management, maintenance, availability, and performance of their critical business systems, whether self-managed or cloud-managed (e.g., AWS RDS, Azure SQL Database). We accomplish this through a comprehensive remote DBA service offering designed specifically to meet the Oracle\u00ae, DB2\u00ae, Informix\u00ae, MySQL\u2122, PostgreSQL\u00ae, MongoDB\u00ae, MariaDB, and Microsoft SQL Server\u00ae, CockroachDB, Databricks, AWS, and Azure needs of our clients.","email":"info@xtivia.com","telephone":"8886853101","legalName":"XTIVIA, Inc","foundingDate":"1992-05-01","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"201","maxValue":"500"}},{"@type":"Person","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/fa0ae91d91b6287541c2fec3169ab1bd","name":"Cheryl Bryll","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5a2c4a2b6132262488d3550966c3827dfcbad921136695096285fc903e6a76be?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5a2c4a2b6132262488d3550966c3827dfcbad921136695096285fc903e6a76be?s=96&d=mm&r=g","caption":"Cheryl Bryll"},"url":"https:\/\/virtual-dba.com\/author\/cheryl-lei-bryll\/"}]}},"_links":{"self":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts\/37775","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/users\/38"}],"replies":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/comments?post=37775"}],"version-history":[{"count":0,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts\/37775\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/media\/37783"}],"wp:attachment":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/media?parent=37775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/categories?post=37775"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/tags?post=37775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}