By default, the store will attempt to create the required tables at startup if they do not exist
(controlled by autoCreate).
Example configuration:
<apiKey>
<databaseApiKeyStore autoCreate="true">
<keyTable name="api_keys"/>
<scopeTable name="api_scopes"/>
</databaseApiKeyStore>
</apiKey>| Name | Required | Default | Description | Examples |
|---|---|---|---|---|
| datasource | false | - | - | - |
| autoCreate | false | true |
Whether the required key/scope tables should be created automatically if they do not exist.
|
false |
| Elements | Description | Cardinality |
|---|---|---|
| keyTable | The table containing API keys. Each row must define a unique apikey. |
0..1 |
| scopeTable | The table mapping API keys to scopes. Each row links one apikey to one scope. |
0..1 |