Optional
autoIf set to true, the driver will attempt to renew the authentication token half way before its expiration time.
Optional
credentialsOptional
passwordOptional
timeoutTimeout used for login and renew-token requests, in milliseconds.
30000 (30 seconds)
Optional
userNoSQL database user name. May not be specified together with credentials property.
Generated using TypeDoc
This configuration is required to authenticate against secure On-Premises Oracle NoSQL Database. It should be set as kvstore. To authenticate against secure kvstore the driver needs user name and password of existing store user that has required permissions to perform needed database operations (see Connecting an Application to On-Premise Oracle NoSQL Database on how to set up access to secure On-Premise Oracle NoSQL database). The are 3 ways in which these credentials may be specified. In order of increased security, they are:
See Connecting an Application to On-Premise Oracle NoSQL Database tutorial on how to set up the driver to access secure on-premise NoSQL store via proxy. Note that secure on-premise NoSQL store uses the same endpoint for authentication and to perform database operations. This endpoint must be using https protocol. See endpoint.
If autoRenew property is set to true (which is the default), after initial login is done, the driver will renew authentication token each time it reaches half of its lifetime (half-point between acquisition and expiration). Renew request requires only existing token and does not require user credentials. If renew request fails, the token will eventually expire and the driver will perform another login (errors due to token expiration are automatically retried by the driver).
See