_id} and may define an array field scopes listing the allowed scopes.Example MongoDB document:
{
"_id": "123456",
"scopes": ["read", "write"]
}
Configuration example:
Attributes
| Name | Required | Default | Description | Examples |
|---|---|---|---|---|
| collection | false | - | The collection name within the database containing the API key documents. | apikeys |
| connection | false | - | MongoDB connection string. | mongodb://localhost:27017 |
| database | false | - | The database name where API keys are stored. | security |