In most modes, ProvenDB for Oracle requires a configuration file. This file is in the YAML format. The file contains the connection credentials for Oracle and the Provendb "Proofable" anchoring service, and details of tables that are registered for automatic monitoring.
If no configuration file is specified, the ProvenDB for Oracle will look for a configuration file called
provendb.yamlin the current directory.
The following example file might serve as a starting point for a configuration:
# How to connect to Oracle oracleConnection: connectString: ora12docker user: proofable password: xxxxxxxxxxxxx anchorType: HEDERA dbmsAlert: TRUE proofable: token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MDQwMTk3NTgsImp0aSI6Im14NnlZOVpqN1dLakdiMGlXdGlhQUdzSE0yM0lpVDZ1c2FkMXBNQkE2S009Iiwic3ViIjoidTQ0eGl0dXhjbHZkdXRrNzg0aDI3cTlqIn0.ahYWFc8arehKKz6ivrJl7hjukB5j333QGJUpM3Dsfc8 endpoint: api.proofable.io:443
The following table outlines the configuration options:
Oracle connection alias - typically an entry included in the local tnsnames.ora file
User name for the connection. Usually "provendb"
Password for the Oracle connection
Blockchain anchor type, such as
If TRUE, ProvenDB for Oracle will wake up if a DBMS_ALERT is issued with the topic
API key for the Proofable anchoring service - as obtained from (provendb.com)[provendb.com]. See Signing up and obtaining an API key .
The Proofable anchoring service end point. Usually
A configuration file can be automatically generated from the provenbOracle install command. See install command reference.
Updated 11 months ago