This uses the mkstore command again with the -createCredential option.
To create a Wallet entry using a tnsalias already defined in tnsnames.ora:
mkstore -wrl "/home/oracle/secure" -createCredential PAOLO Precisely TopSecret!
Enter password:
(This is the password you set above when you created the Wallet.)
In this case, our wallet alias will be called PAOLO.
To create a Wallet entry using an EZConnect string:
mkstore -wrl "/home/oracle/secure" -createCredential
oraprod1/PAOLOXDB.megacorp.com Precisely TopSecret!
Enter password
Note: The example command above is one long string, wrapped across lines
here for ease of reading
In this case, our Wallet alias is oraprod1/PAOLOXDB.megacorp.com