Sunday, June 27, 2021
How to store database credentials in Oracle Wallet (for WLS datasource definitions)
Puneeth Prakash
PRINCIPAL SOFTWARE ENGINEER
Oracle Wallet can be used to securely store the database credentials. Multiple credentials for multiple database can be stored in a single wallet file.
Below are the steps to create a datasource which uses Oracle wallet to store database credentials :
Step 1 :
Create a wallet in a secured location :
Command :
$ORACLE_HOME/oracle_common/bin/mkstore -wrl -create
Step 2:
Add database login credentials to the wallet
Command :
$ORACLE_HOME/oracle_common/bin/mkstore -wrl -createCredential
Step 3 :
Create a new datasource as shown below :
This is how you used to create a datasource in WLS using a DB username / password :
Now you can specify a wallet in the datasource configuration (and avoid using DB username / password) :
">NOTE the change in DB connection URL format :
It is changed from "jdbc:oracle:thin:@//xxxx:1521/sl11g" to "jdbc:oracle:thin:/@xxxx:1521/sl11g"
Command to list the credentials stored in a wallet :
$ORACLE_HOME/oracle_common/bin/mkstore -wrl -listCredential
Command to modify credential stored in wallet :
$ORACLE_HOME/oracle_common/bin/mkstore -wrl -modifyCredential
Command to delete credentials stored in a wallet :
$ORACLE_HOME/oracle_common/bin/mkstore -wrl -deleteCredential
https://blogs.oracle.com/blogbypuneeth/how-to-store-database-credentials-in-oracle-wallet-for-wls-datasource-definitions
Subscribe to:
Post Comments (Atom)
Upgrading Oracle E-Business Suite Release 12.2 with Oracle Database 19c to 23ai on Oracle Exadata Database Service on Dedicated Infrastructure or Cloud@Customer
1.1 Carry Out Performance Evaluation in a Test Environment When upgrading your Oracle E-Business Suite database, it is essential to ensure...
-
The information in this document applies to Oracle E-Business Suite Release 11 i and R12.x . The most current version of this document ...
-
Oracle Web Applications Desktop Integrator (Web ADI) Tips for Troubleshooting (Doc ID 390476.1) To Bottom ...
-
The purpose of this document is to present known issues and solutions for the 19c Database Upgrade with Oracle E-Business Suite (EBS). Imp...
No comments:
Post a Comment