Generating the Login, Trust, and Password Artifacts
To execute a Hive query against a secure Oracle NoSQL Database store, the necessary public and private credentials must be incorporated in the definition of the Hive table that will be queried. To do this, in a fashion similar to that described in the Model For Building & Packaging Secure Clients appendix, you must create artifacts like those shown below, and store them on the Hive client's local system. For example, if you are using a password file to store the user's password, then you would generate files such as:
/tmp/kv-client-security
client.trust
hive-nosql.login
example-user.passwd
Alternatively, if you are storing the user's password in an Oracle Wallet, then you would generate artifacts like the following:
/tmp/kv-client-security
client.trust
hive-nosql.login
/example-user-wallet.dir
cwallet.sso
Note that in both instances above, the file hive-nosql.login
is identical to the file example-user-server.login
that was generated in the Model For Building & Packaging Secure Clients appendix.