class, secret=None, secure=True, host=None, port=None, api_version=None, region='nyc3', **kwargs)[source]

Bases: BaseS3StorageDriver

  • key (str) – API key or username to be used (required)

  • secret (str) – Secret password to be used (required)

  • secure (bool) – Whether to use HTTPS or HTTP. Note: Some providers only support HTTPS, and it is on by default.

  • host (str) – Override hostname used for connections.

  • port (int) – Override port used for connections.

  • api_version (str) – Optional API version. Only used by drivers which support multiple API versions.

  • region (str) – Optional driver region. Only used by drivers which support multiple regions.

Return type:


name: str = 'DigitalOcean Spaces'
supports_chunked_encoding: bool = False
supports_s3_multipart_upload = True
website = ''