# How to access S3 compatible CEPH bucket?

**URL:** <https://discourse.julialang.org/t/how-to-access-s3-compatible-ceph-bucket/70186>\
**Category:** Julia at Scale\
**Tags:** ceph\
**Created:** [October 22, 2021, 1:52am UTC](https://discourse.julialang.org/t/how-to-access-s3-compatible-ceph-bucket/70186 "2021-10-22T01:52:46Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ianfiske](https://avatars.discourse-cdn.com/v4/letter/i/58f4c7/32.png) [@ianfiske](https://discourse.julialang.org/u/ianfiske)\
**Post date:** [November 1, 2021, 8:27pm UTC](https://discourse.julialang.org/t/how-to-access-s3-compatible-ceph-bucket/70186/4 "2021-11-01T20:27:35Z")

</div>

It looks like `AWSS3.s3_list_keys` returns a `Base.Generator`. This is kind-of like an array, but the elements are only evaluated individually, usually to be processed one-at-a-time, which avoids array allocation. See [Multi-dimensional Arrays · The Julia Language](https://docs.julialang.org/en/v1/manual/arrays/#Generator-Expressions-1) or [What is a Base.Generator?](https://discourse.julialang.org/t/what-is-a-base-generator/32316).

Try `collect(AWSS3.s3_list_keys(CephConfig, bucket_name))` to evaluate the items and store them in an array.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-access-s3-compatible-ceph-bucket/70186)._
