Skip to content

list buckets that account has access to #615

@Light2Dark

Description

@Light2Dark

Hi! I'm wondering if there's a way to get buckets at a top level / root directory.

This doesn't work, it expects a bucket to be passed in.

from obstore.store import S3Store

store = S3Store(
    bucket=None,
    access_key_id="...",
    secret_access_key="...",
)

An example from another project is drivendataorg/cloudpathlib#48
CloudPath("s3://").iter_dir()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions