---
title: "libcloud With Wasabi"
slug: "how-do-i-use-libcloud-with-wasabi"
updated: 2026-05-30T18:41:05Z
published: 2026-05-30T18:41:05Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wasabi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# libcloud With Wasabi

[Apache Libcloud](https://libcloud.readthedocs.io/en/latest/supported_providers.html#object-storage) is certified for use with Wasabi. Wasabi is in the process of becoming formally listed on the libcloud provider page but in the interim, if you wish to use this product with Wasabi, you can use the standard S3 connector that is listed on that page.

To use this connector, you can follow the example below:

from libcloud.storage.types import Provider from libcloud.storage.providers import get_driver from libcloud.storage.base import StorageDriver

FILE_PATH = '/Users/wasabi-test/qa/100kfile'

cls = get_driver(Provider.S3) driver = cls('your_wasabi_access_key', 'your_wasabi_secret_key',host='[s3.wasabisys.com](http://s3.wasabibeta.com/)')

container = driver.get_container(container_name='libcloud')

extra = {'meta_data': {'owner': 'myuser', 'created': '2014-02-2'}}

with open(FILE_PATH, 'rb') as iterator: obj = driver.upload_object_via_stream(iterator=iterator, container=container, object_name='backup.tar.gz', extra=extra) ~

Note that this example discusses the use of Wasabi's us-east-1 storage region. To use other Wasabi storage regions, please use the appropriate Wasabi service URL as described in this [article](https://docs.wasabi.com/docs/what-are-the-service-urls-for-wasabis-different-storage-regions).
