# S3 snapshots from crate in k8s using a serviceAccount?

**URL:** <https://community.cratedb.com/t/s3-snapshots-from-crate-in-k8s-using-a-serviceaccount/785>\
**Category:** CrateDB\
**Created:** [September 3, 2021, 12:56pm UTC](https://community.cratedb.com/t/s3-snapshots-from-crate-in-k8s-using-a-serviceaccount/785 "2021-09-03T12:56:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ekoecho](https://sea2.discourse-cdn.com/flex020/user_avatar/community.cratedb.com/ekoecho/32/364_2.png) [@ekoecho](https://community.cratedb.com/u/ekoecho)\
**Post date:** [September 3, 2021, 12:56pm UTC](https://community.cratedb.com/t/s3-snapshots-from-crate-in-k8s-using-a-serviceaccount/785/1 "2021-09-03T12:56:31Z")

</div>

Hi, I wonder if anyone here can help me?

I’ve got crate running in a kubernetes cluster and I want to set up snapshots to s3. I can get the ‘create repository’ command to work if I specify an access key id and a secret access key but I figured it should be possible to use a service account instead.

I have a service account in my k8s cluster that I have confirmed has full access to s3, I have added this serviceaccount to the crate statefulset but I get access denied errors when I try to run the create repository command. When I run an aws cli pod with the service account attached then I can see all of my buckets and copy files to them etc.

Has anyone else here managed to get a similar setup working? Any suggestions would be much appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![proddata](https://sea2.discourse-cdn.com/flex020/user_avatar/community.cratedb.com/proddata/32/1379_2.png) [@proddata](https://community.cratedb.com/u/proddata)\
**Post date:** [September 9, 2021, 4:40pm UTC](https://community.cratedb.com/t/s3-snapshots-from-crate-in-k8s-using-a-serviceaccount/785/2 "2021-09-09T16:40:29Z")

</div>

Hi @ekoecho

From the lack of answers, I am afraid that this isn’t really possible right now.

Is this something you consider to be an important feature for CrateDB?  
May I ask you to create a feature request within `crate/crate` on GitHub?

> **[Build software better, together](https://github.com/crate/crate/issues/new?assignees=&labels=triage&template=feature_request.md)**
>
> GitHub is where people build software. More than 65 million people use GitHub to discover, fork, and contribute to over 200 million projects.

best regards  
Georg
