> For the complete documentation index, see [llms.txt](https://docs.wrks.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wrks.ai/admin-guide/admin-security/api-key.md).

# API 키 관리

API 키 관리 화면에서는 **사내 시스템이 웍스AI를 호출할 때 쓰는 키**를 발급하고 관리할 수 있어요.

## 시작하기 전에

* 이 기능은 **관리자**가 사용할 수 있어요.
* 관리자 왼쪽 메뉴의 **설정/보안 > API 키 관리**에서 들어갈 수 있습니다.

## 따라하기

### 1단계. 발급된 키 보기

지금 쓰이고 있는 키가 보입니다. 만료일과 허용 IP를 함께 확인하실 수 있어요.

<figure><img src="https://285569235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVUV1kKgqv1vX6LI7NOQx%2Fuploads%2Fgit-blob-f9c573d33dbfde4072b2bd5f15e706c76c9fdd00%2Fapi-key-01.png?alt=media" alt=""><figcaption><p>1단계 화면</p></figcaption></figure>

### 2단계. 새 키 발급하기

**\[+ 새 키 발급]** 버튼을 눌러 키를 만듭니다. 만료일을 정할 수 있고, **짧게 잡을수록 안전합니다** — 키가 새어 나가도 자동으로 못 쓰게 되니까요.

<figure><img src="https://285569235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVUV1kKgqv1vX6LI7NOQx%2Fuploads%2Fgit-blob-5f90df105b8e994dd821b0a8017f47fb832748b0%2Fapi-key-02.png?alt=media" alt=""><figcaption><p>2단계 화면</p></figcaption></figure>

## 허용 IP를 함께 걸어주세요

**허용된 IP 주소 관리** 에서 이 키를 쓸 수 있는 서버의 IP를 등록합니다. 등록한 IP에서 호출한 키만 허용되므로, 키가 새어 나가도 그 밖에서는 쓸 수 없어요.

> **사내 직원 접속 IP와는 별개**입니다. 내부 통제의 접속 제한과 헷갈리지 마세요.

입력은 세 가지 형식을 씁니다. 화면에도 예시가 적혀 있어요.

| 형식    | 예시                              |
| ----- | ------------------------------- |
| 단일 IP | `218.144.97.227`                |
| 범위    | `218.144.97.227-218.144.97.230` |
| CIDR  | `218.144.97.224/29`             |

여러 개를 한 번에 넣으실 때는 **콤마(,)로 구분**해 주세요.

> **공인 IP만 등록할 수 있어요.** 사설 IP는 받지 않습니다.

## 연동 방법이 궁금하시면

화면 오른쪽 위의 **\[API 문서]** 를 누르면 개발 담당자가 볼 연동 문서로 이동합니다.

## 다 되었어요!

키가 새어 나간 것 같으면 **바로 삭제**하시고 새로 발급해 주세요.

설정 하나하나와 자주 묻는 질문은 [**관리자 도움말**](https://docs.wrks.ai/admin-help)에 정리돼 있어요.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.wrks.ai/admin-guide/admin-security/api-key.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
