# How to configure GCS repository for Elastic Cloud

**URL:** <https://discuss.elastic.co/t/how-to-configure-gcs-repository-for-elastic-cloud/225394>\
**Category:** Elasticsearch\
**Created:** [March 27, 2020, 11:36am UTC](https://discuss.elastic.co/t/how-to-configure-gcs-repository-for-elastic-cloud/225394 "2020-03-27T11:36:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nuwancs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nuwancs/32/46419_2.png) [@nuwancs](https://discuss.elastic.co/u/nuwancs)\
**Post date:** [March 27, 2020, 11:36am UTC](https://discuss.elastic.co/t/how-to-configure-gcs-repository-for-elastic-cloud/225394/1 "2020-03-27T11:36:21Z")

</div>

Hi There,  
I am trying to create snapshots from Elastic cloud to google storage.  
Documentation for the task is [here](https://www.elastic.co/guide/en/cloud/current/ec-gcs-snapshotting.html).  
As per the doc I have created a bucket,  
created a service account and also created a key file.  
And then it was added to the elastic cloud admin console

```auto
{
  "type": "gcs",
  "settings": {
"bucket": "name-of-bucket",
"region": "region-of-bucket-same-as-cluster",
"access_key": "YOURKEYHERE",
"secret_key": "secret-key-with-just-permission-to-that-bucket-do-not-use-a-master-key",
"compress": true
  }
}

```

Now the problem is how can I get the values for access key and for secret key?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 24, 2020, 11:36am UTC](https://discuss.elastic.co/t/how-to-configure-gcs-repository-for-elastic-cloud/225394/2 "2020-04-24T11:36:31Z")

</div>

Closed on April 24, 2020, 11:36am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
