我正在尝试将密码存储在 Oracle Wallet 文件中,我将从代码中检索并使用该文件。
我尝试创建一个钱包并在那里保存凭证:-
$ mkstore -wrl <wallet_location> -createCredential sid scott tiger
Oracle Secret Store Tool : Version 12.1.0.2
Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved.
Enter wallet password:
Create credential oracle.security.client.connect_string1
Run Code Online (Sandbox Code Playgroud)
创建没有给出任何错误,但是当我尝试列出凭据时,我什么也没得到。
$ mkstore -wrl -listCredential
Oracle Secret Store Tool : Version 12.1.0.2
Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved
Run Code Online (Sandbox Code Playgroud)
另外,如何使用java检索此密码?
oracle ×1