Monday, 18 January 2021

Manage wallet configurations with mkstore

View entries in wallet key using mkstore:

[oracle@racnode01 tns_admin]$ mkstore -wrl /u01/app/oracle/db_wallet/wallet -list

Oracle Secret Store Tool Release 23.0.0.0.0 - Production

Version 23.0.0.0.0

Copyright (c) 2004, 2021, Oracle and/or its affiliates. All rights reserved.


Enter wallet password:   

Oracle Secret Store entries: 

oracle.security.client.connect_string1

oracle.security.client.password1

oracle.security.client.username1



View entry details:

[oracle@racnode01 tns_admin]$ mkstore -wrl /u01/app/oracle/db_wallet/wallet -viewEntry oracle.security.client.connect_string1


Oracle Secret Store Tool Release 23.0.0.0.0 - Production

Version 23.0.0.0.0

Copyright (c) 2004, 2021, Oracle and/or its affiliates. All rights reserved.


Enter wallet password:   

oracle.security.client.connect_string1 = TSTDB_TNS


[oracle@racnode01 tns_admin]$ mkstore -wrl /u01/app/oracle/db_wallet/wallet -viewEntry oracle.security.client.username1


Oracle Secret Store Tool Release 23.0.0.0.0 - Production

Version 23.0.0.0.0

Copyright (c) 2004, 2021, Oracle and/or its affiliates. All rights reserved.


Enter wallet password:   

oracle.security.client.username1 = TSTDB_USER


[oracle@racnode01 tns_admin]$ mkstore -wrl /u01/app/oracle/db_wallet/wallet -viewEntry oracle.security.client.password1


Oracle Secret Store Tool Release 23.0.0.0.0 - Production

Version 23.0.0.0.0

Copyright (c) 2004, 2021, Oracle and/or its affiliates. All rights reserved.


Enter wallet password:   

oracle.security.client.password1 = tstdbuser_pwd


Modify entry configurations:

[oracle@racnode01 tns_admin]$  mkstore -wrl /u01/app/oracle/db_wallet/wallet -modifyEntry oracle.security.client.connect_string1 PRODDB_TNS


Oracle Secret Store Tool Release 23.0.0.0.0 - Production

Version 23.0.0.0.0

Copyright (c) 2004, 2021, Oracle and/or its affiliates. All rights reserved.


Enter wallet password:  


Check entry update or not in wallet key: 

[oracle@racnode01 tns_admin]$ mkstore -wrl /u01/app/oracle/db_wallet/wallet -viewEntry oracle.security.client.connect_string1


Oracle Secret Store Tool Release 23.0.0.0.0 - Production

Version 23.0.0.0.0

Copyright (c) 2004, 2021, Oracle and/or its affiliates. All rights reserved.


Enter wallet password:   

oracle.security.client.connect_string1 = PRODDB_TNS



let do configuration changes for other entries in wallet key:

[oracle@racnode01 tns_admin]$  mkstore -wrl /u01/app/oracle/db_wallet/wallet -modifyEntry oracle.security.client.username1 PRODDB_USER


Oracle Secret Store Tool Release 23.0.0.0.0 - Production

Version 23.0.0.0.0

Copyright (c) 2004, 2021, Oracle and/or its affiliates. All rights reserved.


Enter wallet password:   



[oracle@racnode01 tns_admin]$ mkstore -wrl /u01/app/oracle/db_wallet/wallet -viewEntry oracle.security.client.username1


Oracle Secret Store Tool Release 23.0.0.0.0 - Production

Version 23.0.0.0.0

Copyright (c) 2004, 2021, Oracle and/or its affiliates. All rights reserved.


Enter wallet password:   

oracle.security.client.username1 = PRODDB_USER



[oracle@racnode01 tns_admin]$  mkstore -wrl /u01/app/oracle/db_wallet/wallet -modifyEntry oracle.security.client.password1 proddbuser_pwd


Oracle Secret Store Tool Release 23.0.0.0.0 - Production

Version 23.0.0.0.0

Copyright (c) 2004, 2021, Oracle and/or its affiliates. All rights reserved.


Enter wallet password:  

 

[oracle@racnode01 tns_admin]$ mkstore -wrl /u01/app/oracle/db_wallet/wallet -viewEntry oracle.security.client.password1


Oracle Secret Store Tool Release 23.0.0.0.0 - Production

Version 23.0.0.0.0

Copyright (c) 2004, 2021, Oracle and/or its affiliates. All rights reserved.


Enter wallet password:   

oracle.security.client.password1 = proddbuser_pwd


No comments:

Post a Comment