Skip to content

Commit

Permalink
Add Storj DCS as an explicit endpoint for S3-compatible storage (#687)
Browse files Browse the repository at this point in the history
* added section for

* Update index.rst

Include Storj DCS as an explicit S3 Compatible storage option

* remove whitespace

Co-authored-by: Martin Durant <martindurant@users.noreply.github.com>
  • Loading branch information
keleffew and martindurant committed Jan 17, 2023
1 parent 11c4ff5 commit 8c7dfd4
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,26 @@ For a self-hosted MinIO instance:
}
)
For Storj DCS via the `S3-compatible Gateway <https://docs.storj.io/dcs/getting-started/quickstart-aws-sdk-and-hosted-gateway-mt>`_:

.. code-block:: python
# When relying on auto discovery for credentials
>>> s3 = s3fs.S3FileSystem(
anon=False,
client_kwargs={
'endpoint_url': 'https://gateway.storjshare.io'
}
)
# Or passing the credentials directly
>>> s3 = s3fs.S3FileSystem(
key='accesskey...',
secret='asecretkey...',
client_kwargs={
'endpoint_url': 'https://gateway.storjshare.io'
}
)
For a Scaleway s3-compatible storage in the ``fr-par`` zone:

.. code-block:: python
Expand Down

0 comments on commit 8c7dfd4

Please sign in to comment.