blob: 45c3507211081b86393d9c1341b6d169b566eb95 [file] [view]
Configuration
=========================
The plugin configuration belongs in spanner-refdb.config.
The credentialsPath is required when not using the Spanner emulator.
```
[ref-database "spanner"]
instance = spanner-instance
database = global-refdb
useEmulator = false
credentialsPath = /path/to/credentials.json
```
`ref-database.spanner.instance`
: Optional. The name of the spanner instance.
`Default: spanner-instance.`
`ref-database.spanner.database`
: Optional. The name of the spanner database.
`Default: global-refdb.`
`ref-database.spanner.useEmulator`
: Optional. Boolean, whether or not to use the [in-memory Cloud Spanner emulator](https://cloud.google.com/spanner/docs/emulator).
`Default: false.`
`ref-database.spanner.credentialsPath`
: Required when not using the emulator. The path to Google cloud credentials.
`Default: null.`