API Settings

API_EXCLUDE_HOSTS_FROM_AUTHORISATION_USING_FIELDS
List or set of host names which don't authorise using POST fields.
API_ROLE_OWNERS
Dictionary of field name to model name of other models which can 'own' a Role. Fields are automatically created with on_delete=models.CASCADE which can also be null. Here is an example:
API_ROLE_OWNERS = {
    'runner': 'process.Runner',
    'run': 'process.Run',
}
API_KEY_OWNERS
Dictionary of field name to model name of other models which can 'own' a Key. Fields are automatically created with on_delete=models.CASCADE which can also be null. Here is an example:
API_KEY_OWNERS = {
    'job': 'process.Job',
}
API_ID_ENCRYPTION_KEY
The encryption key to convert from the pk to api id. Keep this secret. This byte string needs to be between 4 and 56 bytes long.
API_ID_INITIALISATION_VECTOR
The initialisation vector for encrypting the pk to api id. Keep this secret. This byte string needs to be 8 bytes long.