# Create a repository failed

**URL:** <https://discuss.elastic.co/t/create-a-repository-failed/86150>\
**Category:** Elasticsearch\
**Created:** [May 17, 2017, 5:22pm UTC](https://discuss.elastic.co/t/create-a-repository-failed/86150 "2017-05-17T17:22:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 17, 2017, 9:37pm UTC](https://discuss.elastic.co/t/create-a-repository-failed/86150/2 "2017-05-17T21:37:16Z")

</div>

Please format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

I updated your question.

I guess you are using a recent version, right?

It should be:

```auto
cloud:
   azure:
        storage:
            my_account:
                account: XXXXXXX
                key: XXXX

```

---

_[View the full topic](https://discuss.elastic.co/t/create-a-repository-failed/86150)._
