# 테마 컴포넌트에 API 키를 사용하는 것이 괜찮을까요?

**URL:** https://meta.discourse.org/t/are-api-keys-in-theme-components-okay/367528
**Category:** Development
**Created:** [5월 25, 2025, 12:56오후 UTC](https://meta.discourse.org/t/are-api-keys-in-theme-components-okay/367528 "2025-05-25T12:56:27Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [5월 25, 2025, 1:01오후 UTC](https://meta.discourse.org/t/are-api-keys-in-theme-components-okay/367528/2 "2025-05-25T13:01:45Z")

</div>

테마 설정은 클라이언트 JS 앱에서 사용 가능하므로, 웹사이트를 방문하는 누구나 소스 코드를 확인하여 해당 설정을 볼 수 있습니다. 따라서 API 키를 여기에 넣는 것은 거의 권장되지 않습니다.

예외는 클라이언트 측 사용을 위해 _설계된_ API 키의 경우입니다. 이러한 키는 누구나 접근하더라도 문제가 되지 않도록 만들어져 있습니다(예: Giphy, Google Maps 임베드 등).

---

_[View the full topic](https://meta.discourse.org/t/are-api-keys-in-theme-components-okay/367528)._
