# Use a pipeline to ingest data from a minio bucket

**URL:** <https://www.singlestore.com/forum/t/use-a-pipeline-to-ingest-data-from-a-minio-bucket/6683>\
**Category:** Connectors and Pipelines\
**Tags:** pipelines\
**Created:** [April 13, 2023, 4:26pm UTC](https://www.singlestore.com/forum/t/use-a-pipeline-to-ingest-data-from-a-minio-bucket/6683 "2023-04-13T16:26:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gtbenedict](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/g/b487fb/32.png) [@gtbenedict](https://www.singlestore.com/forum/u/gtbenedict)\
**Post date:** [April 13, 2023, 4:26pm UTC](https://www.singlestore.com/forum/t/use-a-pipeline-to-ingest-data-from-a-minio-bucket/6683/1 "2023-04-13T16:26:55Z")

</div>

I thought I’d share something I learned. I was struggling figuring out how to pass the right information into the pipeline to get access to the minio bucket. I saw another post related to S3, but this didn’t quite get me there. This is for ingesting a csv file. After some trial and error, this is what I ended up with:  
create or replace pipeline mypipeline as  
load data S3 ‘mybucket/myfolderinbucket’  
CONFIG ‘{“endpoint\_url”:“[http://192.168.1.xxx:9000/](http://192.168.1.xxx:9000/)”}’  
CREDENTIALS ‘{“aws\_access\_key\_id”: “accesskeyfromminio”, “aws\_secret\_access\_key”: “secretkeyfromminio”}’  
replace into table mytable  
columns terminated by ‘,’  
OPTIONALLY ENCLOSED BY ‘"’  
ignore 1 lines  
(column1,  
column2,  
column3,  
column4);

---

<div class="post-metadata">

**Author:** ![hanson](https://www.singlestore.com/forum/user_avatar/www.singlestore.com/hanson/32/196_2.png) [@hanson](https://www.singlestore.com/forum/u/hanson)\
**Post date:** [April 18, 2023, 12:21am UTC](https://www.singlestore.com/forum/t/use-a-pipeline-to-ingest-data-from-a-minio-bucket/6683/2 "2023-04-18T00:21:38Z")

</div>

Hi @gtbenedict. Thanks for sharing this!
