Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 795 Bytes

plugin_server_datastore_sql.md

File metadata and controls

22 lines (16 loc) · 795 Bytes

Server plugin: Datastore "SQL"

Note the Datastore is a required plugin, and currently, as the SQL datastore is the only supported instance of the datastore plugin, there must be a section configuring this upon Tornjak backend startup.

The configuration has the following key-value pairs:

Key Description Required
drivername Driver for SQL database True
filename Location of database True

A sample configuration file for syntactic reference is below:

    DataStore "sql" {
        plugin_data {
            issuer = "sqlite3"
            audience = "/run/spire/data/tornjak.sqlite3"
        }
    }