<<Back to Oracle DB Security Main Page
oracle.security.pki.OracleSecretStoreException: Credential already exists
$ mkstore -wrl /u01/dbatst2/admin/wallet/TST1T/ -createCredential PDB01 test1
Oracle Secret Store Tool : Version 12.2.0.1.0
Copyright (c) 2004, 2016, Oracle and/or its affiliates. All rights reserved.
Your secret/Password is missing in the command line
Enter your secret/Password:
Re-enter your secret/Password:
Enter wallet password:
Secret Store error occurred: oracle.security.pki.OracleSecretStoreException: Credential already exists
$ mkstore -wrl /u01/dbatst2/admin/wallet/TST1T/ -listCredential
Oracle Secret Store Tool : Version 12.2.0.1.0
Copyright (c) 2004, 2016, Oracle and/or its affiliates. All rights reserved.
Enter wallet password:
List credential (index: connect_string username)
1: PDB01 test
Solution:
Note that you can have only ONE user per TNS alias stored in the wallet.
If you want more user per TNS then create additional wallet step by step instruction is provided at Hiding Database Credentilas Using Oracle Wallet
Comments
Post a Comment