ProvenDB for SQLServer Configuration file
If you specified the --config option during installation, a configuration file will have been created for you. It will look something like this:
dbConnection:
connectionType: SQLSERVER
connectionString: >-
Server=localhost\SQLEXPRESS;1433;Encrypt=false;Trusted_Connection=True;TrustServerCertificate=True;User
Id=guy;Password=mySecretPassword123
anchorType: HEDERA
proofable:
token: >-
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJhbmNASH-xSs3j-0
endpoint: 'anchor.proofable.io:443'
You can modify settings in this file to control the behavior of provendb-sqlserver. You can have multiple configuration files each of which can be invoked by the --config
option of the monitor
command.
Below are the attributes of the configuration file.
Attribute | Description |
---|---|
dbConnection.connectionType | For provendb-sqlserver, this should always be SQLSERVER |
dbConnection.connectionString | Connection string to use when connecting to SQL Server |
anchorType | Blockchain anchor type, such as ETH , BTC or HEDERA See here for a full list. |
proofable.token | API key for the Proofable anchoring service - as obtained from (provendb.com)[provendb.com]. See Signing up and obtaining an API key . |
proofable.endpoint | The Proofable anchoring service end point. Usually api.proofable.io:443 . |
Updated about 2 years ago
What’s Next