Skip to content

Commit 8c7dfd4

Browse files
Add Storj DCS as an explicit endpoint for S3-compatible storage (#687)
* added section for * Update index.rst Include Storj DCS as an explicit S3 Compatible storage option * remove whitespace Co-authored-by: Martin Durant <[email protected]>
1 parent 11c4ff5 commit 8c7dfd4

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

‎docs/source/index.rst‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,26 @@ For a self-hosted MinIO instance:
211211
}
212212
)
213213
214+
For Storj DCS via the `S3-compatible Gateway <https://docs.storj.io/dcs/getting-started/quickstart-aws-sdk-and-hosted-gateway-mt>`_:
215+
216+
.. code-block:: python
217+
218+
# When relying on auto discovery for credentials
219+
>>> s3 = s3fs.S3FileSystem(
220+
anon=False,
221+
client_kwargs={
222+
'endpoint_url': 'https://gateway.storjshare.io'
223+
}
224+
)
225+
# Or passing the credentials directly
226+
>>> s3 = s3fs.S3FileSystem(
227+
key='accesskey...',
228+
secret='asecretkey...',
229+
client_kwargs={
230+
'endpoint_url': 'https://gateway.storjshare.io'
231+
}
232+
)
233+
214234
For a Scaleway s3-compatible storage in the ``fr-par`` zone:
215235

216236
.. code-block:: python

0 commit comments

Comments
 (0)