Skip to content

srhoulam/synapse-s3-storage-provider

 
 

Repository files navigation

Synapse S3 Storage Provider

This module can be used by synapse as a storage provider, allowing it to fetch and store media in Amazon S3.

Usage

The s3_storage_provider.py should be on the PYTHONPATH when starting synapse.

Example of entry in synapse config:

media_storage_providers:
- module: s3_storage_provider.S3StorageProviderBackend
  store_local: True
  store_remote: True
  store_synchronous: True
  config:
    bucket: <S3_BUCKET_NAME>
    # optional for non-AWS S3-like services:
    endpoint_url: <S3_LIKE_SERVICE_ENDPOINT_URL>

This module uses boto3, and so the credentials should be specified as described here.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%