stores
    Preparing search index...

    Module datastore-s3

    A Datastore implementation that stores data on Amazon S3.

    If the flag createIfMissing is not set or is false, then the bucket must be created prior to using datastore-s3. Please see the AWS docs for information on how to configure the S3 instance. A bucket name is required to be set at the s3 instance level, see the below example.

    import { S3 } from '@aws-sdk/client-s3'
    import { S3Datastore } from 'datastore-s3'

    const s3 = new S3({
    region: 'region',
    credentials: {
    accessKeyId: 'myaccesskey',
    secretAccessKey: 'mysecretkey'
    }
    })

    const store = new S3Datastore(
    s3,
    'my-bucket',
    { path: '.ipfs/datastore', createIfMissing: false }
    )
    Using with Helia

    See [examples/helia](./examples/helia) for a full example of how to use Helia with an S3 backed datastore.

    Classes

    S3Datastore

    Interfaces

    S3DatastoreInit