# Setting the api key via console

**URL:** https://meta.discourse.org/t/setting-the-api-key-via-console/107472
**Category:** Development
**Created:** [1월 24, 2019, 10:07오후 UTC](https://meta.discourse.org/t/setting-the-api-key-via-console/107472 "2019-01-24T22:07:34Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![Thamer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thamer/32/183183_2.png) [@Thamer](https://meta.discourse.org/u/Thamer)
#### Post date: [7월 7, 2020, 12:24오전 UTC](https://meta.discourse.org/t/setting-the-api-key-via-console/107472/9 "2020-07-07T00:24:34Z")

</div>

> [@pfaffman](#):
>
> ```plaintext
> YML=app
> SSH_USER=root@host
> API_KEY=`ssh $SSH_USER sudo docker exec -w /var/www/discourse -i $YML rake api_key:get`
> 
> ```

@pfaffman 님, 앱 안에서 이 단계를 어떻게 따라가야 하나요? 즉, `./launcher`로 앱에 진입한 후, 말씀하신 이 명령어들을 어떻게 사용해야 하는지 궁금합니다.

---

_[View the full topic](https://meta.discourse.org/t/setting-the-api-key-via-console/107472)._
