Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.03 KB

File metadata and controls

23 lines (16 loc) · 1.03 KB

Storage driver: swift

This driver only works with the keystone auth driver. For a given Keppel account, it stores image data in the Swift container keppel-$ACCOUNT_NAME in the OpenStack project that is this account's auth tenant.

Server-side configuration

export KEPPEL_DRIVER_STORAGE='{"type":"swift","params":{...}}'

The service user must have permissions to switch to every Swift account (usually with the swiftreseller role), unless use_service_user_project is true. In this case write access to the service project is sufficient (usually with the swiftoperator role).

The following parameters may be supplied in $KEPPEL_DRIVER_STORAGE:

Field Type Explanation
use_service_user_project bool (optional) When set to true, stores all payload in the service user's own project instead of in the project owning the respective Keppel account. Defaults to false.