OpenClaw는 모델 제공자용으로 OAuth와 API key를 모두 지원합니다. 오래 실행되는 gateway 호스트에서는 보통 API key가 가장 예측 가능하고 안정적인 선택입니다. 구독형/OAuth 흐름도 제공자 계정 모델과 맞는 경우 사용할 수 있습니다.전체 OAuth 흐름과 저장 구조는 /concepts/oauth를 참고하세요.
SecretRef 기반 인증(env/file/exec providers)은 Secrets Management를 참고하세요.
models status --probe가 사용하는 자격 증명 적격성과 reason-code 규칙은 Auth Credential Semantics를 참고하세요.
환경 변수를 직접 관리하고 싶지 않다면 onboarding wizard가 daemon용 API key를 저장할 수 있습니다: openclaw onboard환경 변수 상속(env.shellEnv, ~/.openclaw/.env, systemd/launchd)에 대한 자세한 내용은 Help를 참고하세요.
This credential is only authorized for use with Claude Code and cannot be used for other API requests.
Anthropic API key를 대신 사용하세요.
Anthropic setup-token 지원은 기술적 호환성 수준입니다. Anthropic은 과거에 Claude Code 외부에서 일부 subscription 사용을 제한한 적이 있습니다. 현재 정책 리스크를 직접 검토하고, 사용 전 Anthropic 최신 약관을 확인하세요.
수동 토큰 입력은 모든 provider에서 사용할 수 있으며, auth-profiles.json을 기록하고 config를 갱신합니다.
/model <alias-or-id>@<profileId>를 사용하면 현재 세션에서 특정 provider 자격 증명을 고정할 수 있습니다. 예시 profile id: anthropic:default, anthropic:work/model 또는 /model list는 간단한 picker를 보여주고, /model status는 전체 보기(candidates + next auth profile, 그리고 설정된 경우 provider endpoint 상세 정보)를 보여줍니다.
에이전트별로 명시적인 auth profile 순서를 설정할 수 있습니다. 이 값은 해당 agent의 auth-profiles.json에 저장됩니다.
openclaw models auth order get --provider anthropicopenclaw models auth order set --provider anthropic anthropic:defaultopenclaw models auth order clear --provider anthropic
특정 agent를 대상으로 하려면 --agent <id>를 사용하고, 생략하면 설정된 기본 agent에 적용됩니다.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OpenClaw","description":"WhatsApp、Telegram、Discord、iMessage などを AI コーディングエージェントへ接続するセルフホスト型 Gateway。自分のマシンで单一の Gateway を動かし、どこからでも AI アシスタントにメッセージできます。","colors":{"primary":"#FF5A36","light":"#FF8A6B","dark":"#FF5A36"},"logo":{"light":"https://mintcdn.com/nanoagent/UbYVQ4IaiMdzoaqN/assets/pixel-lobster.svg?fit=max\u0026auto=format\u0026n=UbYVQ4IaiMdzoaqN\u0026q=85\u0026s=bdcd3dfb3f3b11757b6e6beb1f973df8","dark":"https://mintcdn.com/nanoagent/UbYVQ4IaiMdzoaqN/assets/pixel-lobster.svg?fit=max\u0026auto=format\u0026n=UbYVQ4IaiMdzoaqN\u0026q=85\u0026s=bdcd3dfb3f3b11757b6e6beb1f973df8"},"favicon":"https://mintcdn.com/nanoagent/UbYVQ4IaiMdzoaqN/assets/pixel-lobster.svg?fit=max\u0026auto=format\u0026n=UbYVQ4IaiMdzoaqN\u0026q=85\u0026s=bdcd3dfb3f3b11757b6e6beb1f973df8","navbar":{"links":[{"icon":"github","href":"https://github.com/cabbagehao/openclawDoc","label":"GitHub"},{"icon":"package","href":"https://github.com/openclaw/openclaw/releases","label":"リリース"}]},"fonts":{"heading":{"family":"DM Sans"},"body":{"family":"Fragment Mono"}},"icons":{"library":"lucide"},"styling":{"codeblocks":{"theme":{"light":"min-light","dark":"min-dark"}},"latex":true},"integrations":{"ga4":{"measurementId":"G-FQ5JB332BK"}},"navigation":{"languages":[{"language":"ja","href":""},{"language":"ko","href":"ko-KR"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nanoagent","hasAudioNarration":false,"actualSubdomain":"nanoagent","customDomains":["openclawdoc.org"],"gitSource":{"type":"github","owner":"cabbagehao","repo":"openclawdoc","deployBranch":"master","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae949e79198b3764e848a0e:success","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"ja","tag":"リファレンス","count":80},{"language":"ko","tag":"참조","count":80},{"language":"ja","tag":"ツール","count":55},{"language":"ko","tag":"도구","count":55},{"language":"ja","tag":"CLI コマンド","count":46},{"language":"ko","tag":"CLI 명령","count":46},{"language":"ja","tag":"Gateway と運用","count":42},{"language":"ko","tag":"게이트웨이 및 운영","count":42},{"language":"ja","tag":"Gateway","count":31},{"language":"ja","tag":"モデル","count":31},{"language":"ko","tag":"게이트웨이","count":31},{"language":"ko","tag":"모델","count":31},{"language":"ja","tag":"チャンネル","count":29},{"language":"ko","tag":"채널","count":29},{"language":"ja","tag":"プラットフォーム","count":27},{"language":"ja","tag":"プロバイダー","count":27},{"language":"ko","tag":"플랫폼","count":27},{"language":"ko","tag":"프로바이더","count":27},{"language":"ja","tag":"メッセージングプラットフォーム","count":21},{"language":"ko","tag":"메시징 플랫폼","count":21}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"#content>h1:first-of-type{display:none!important}.nav-tabs{position:relative}.nav-tabs-item>div{opacity:0}.nav-tabs-underline{position:absolute;left:0;bottom:0;height:1.5px;width:var(--nav-tab-underline-width, 0);transform:translateX(var(--nav-tab-underline-x, 0));background-color:rgb(var(--primary));border-radius:999px;pointer-events:none;opacity:0;transition:transform 260ms ease-in-out,\n width 260ms ease-in-out,\n opacity 160ms ease-in-out;will-change:transform, width}html.dark .nav-tabs-underline{background-color:rgb(var(--primary-light))}.nav-tabs-underline-ready .nav-tabs-underline{opacity:1}"}],"page":{"pagePath":"ko-KR/gateway/authentication","slug":"/ko-KR/gateway/authentication","pageMetadata":{"title":"Authentication","description":"OpenClaw Gateway에서 모델 제공자 OAuth, API key, Anthropic setup-token 인증을 구성하고 점검하는 가이드","summary":"모델 인증 가이드: OAuth, API keys, setup-token","read_when":["모델 인증 문제나 OAuth 만료를 디버깅할 때","인증 또는 자격 증명 저장 방식을 문서화할 때"],"x-i18n":{"source_path":"gateway/authentication.md"},"href":"/ko-KR/gateway/authentication"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"OpenClaw Gateway에서 모델 제공자 OAuth, API key, Anthropic setup-token 인증을 구성하고 점검하는 가이드\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,blockquote:`blockquote`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`authentication`,children:`Authentication`}),`\n`,_jsx(_components.p,{children:`OpenClaw는 모델 제공자용으로 OAuth와 API key를 모두 지원합니다. 오래 실행되는 gateway 호스트에서는 보통 API key가 가장 예측 가능하고 안정적인 선택입니다. 구독형/OAuth 흐름도 제공자 계정 모델과 맞는 경우 사용할 수 있습니다.`}),`\n`,_jsxs(_components.p,{children:[`전체 OAuth 흐름과 저장 구조는 `,_jsx(_components.a,{href:`/concepts/oauth`,children:`/concepts/oauth`}),`를 참고하세요.\nSecretRef 기반 인증(`,_jsx(_components.code,{children:`env`}),`/`,_jsx(_components.code,{children:`file`}),`/`,_jsx(_components.code,{children:`exec`}),` providers)은 `,_jsx(_components.a,{href:`/gateway/secrets`,children:`Secrets Management`}),`를 참고하세요.\n`,_jsx(_components.code,{children:`models status --probe`}),`가 사용하는 자격 증명 적격성과 reason-code 규칙은 `,_jsx(_components.a,{href:`/auth-credential-semantics`,children:`Auth Credential Semantics`}),`를 참고하세요.`]}),`\n`,_jsx(Heading,{level:`2`,id:`권장-설정-api-key-모든-provider-공통`,children:`권장 설정(API key, 모든 provider 공통)`}),`\n`,_jsx(_components.p,{children:`장기 실행 gateway를 운영한다면 먼저 사용할 provider의 API key부터 구성하세요.\n특히 Anthropic은 subscription setup-token보다 API key 인증을 더 안전한 경로로 권장합니다.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`provider 콘솔에서 API key를 생성합니다.`}),`\n`,_jsxs(_components.li,{children:[`그 키를 `,_jsx(_components.strong,{children:`gateway host`}),`(`,_jsx(_components.code,{children:`openclaw gateway`}),`가 실행되는 머신)에 배치합니다.`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes min-light min-dark`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1f1f1f`,color:`#24292eff`,\"--shiki-dark\":`#b392f0`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D32F2F`,\"--shiki-dark\":`#F97583`},children:`export`}),_jsx(_components.span,{style:{color:`#D32F2F`,\"--shiki-dark\":`#F97583`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#24292EFF`,\"--shiki-dark\":`#B392F0`},children:`PROVIDER`}),_jsx(_components.span,{style:{color:`#D32F2F`,\"--shiki-dark\":`#F97583`},children:`>`}),_jsx(_components.span,{style:{color:`#24292EFF`,\"--shiki-dark\":`#B392F0`},children:`_API_KEY`}),_jsx(_components.span,{style:{color:`#D32F2F`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#22863A`,\"--shiki-dark\":`#FFAB70`},children:`\"...\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`openclaw`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` models`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` status`})]}),`\n`]})})}),`\n`,_jsxs(_components.ol,{start:`3`,children:[`\n`,_jsxs(_components.li,{children:[`Gateway가 systemd/launchd 아래에서 실행된다면, daemon이 읽을 수 있도록 `,_jsx(_components.code,{children:`~/.openclaw/.env`}),`에 키를 두는 편이 좋습니다.`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes min-light min-dark`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1f1f1f`,color:`#24292eff`,\"--shiki-dark\":`#b392f0`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`cat`}),_jsx(_components.span,{style:{color:`#D32F2F`,\"--shiki-dark\":`#F97583`},children:` >>`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` ~/.openclaw/.env`}),_jsx(_components.span,{style:{color:`#D32F2F`,\"--shiki-dark\":`#F97583`},children:` \u003c\u003c`}),_jsx(_components.span,{style:{color:`#24292EFF`,\"--shiki-dark\":`#B392F0`},children:`'EOF'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#22863A`,\"--shiki-dark\":`#FFAB70`},children:`\u003cPROVIDER>_API_KEY=...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292EFF`,\"--shiki-dark\":`#B392F0`},children:`EOF`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`그다음 daemon 또는 Gateway 프로세스를 재시작하고 다시 점검합니다.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes min-light min-dark`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1f1f1f`,color:`#24292eff`,\"--shiki-dark\":`#b392f0`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`openclaw`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` models`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` status`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`openclaw`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` doctor`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`환경 변수를 직접 관리하고 싶지 않다면 onboarding wizard가 daemon용 API key를 저장할 수 있습니다: `,_jsx(_components.code,{children:`openclaw onboard`})]}),`\n`,_jsxs(_components.p,{children:[`환경 변수 상속(`,_jsx(_components.code,{children:`env.shellEnv`}),`, `,_jsx(_components.code,{children:`~/.openclaw/.env`}),`, systemd/launchd)에 대한 자세한 내용은 `,_jsx(_components.a,{href:`/help`,children:`Help`}),`를 참고하세요.`]}),`\n`,_jsx(Heading,{level:`2`,id:`anthropic-setup-token-구독-인증`,children:`Anthropic: setup-token(구독 인증)`}),`\n`,_jsxs(_components.p,{children:[`Claude subscription을 사용 중이라면 setup-token 흐름을 지원합니다. 반드시 `,_jsx(_components.strong,{children:`gateway host`}),`에서 실행하세요.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes min-light min-dark`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1f1f1f`,color:`#24292eff`,\"--shiki-dark\":`#b392f0`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`claude`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` setup-token`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`그다음 OpenClaw에 붙여 넣습니다.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes min-light min-dark`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1f1f1f`,color:`#24292eff`,\"--shiki-dark\":`#b392f0`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`openclaw`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` models`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` auth`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` setup-token`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` --provider`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` anthropic`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`토큰을 다른 머신에서 만들었다면 수동으로 붙여 넣을 수 있습니다.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes min-light min-dark`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1f1f1f`,color:`#24292eff`,\"--shiki-dark\":`#b392f0`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`openclaw`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` models`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` auth`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` paste-token`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` --provider`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` anthropic`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`다음과 같은 Anthropic 오류가 보이면:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes min-light min-dark`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1f1f1f`,color:`#24292eff`,\"--shiki-dark\":`#b392f0`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`This credential is only authorized for use with Claude Code and cannot be used for other API requests.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Anthropic API key를 대신 사용하세요.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Anthropic setup-token 지원은 기술적 호환성 수준입니다. Anthropic은 과거에 Claude Code 외부에서 일부 subscription 사용을 제한한 적이 있습니다. 현재 정책 리스크를 직접 검토하고, 사용 전 Anthropic 최신 약관을 확인하세요.`})}),`\n`,_jsxs(_components.p,{children:[`수동 토큰 입력은 모든 provider에서 사용할 수 있으며, `,_jsx(_components.code,{children:`auth-profiles.json`}),`을 기록하고 config를 갱신합니다.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes min-light min-dark`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1f1f1f`,color:`#24292eff`,\"--shiki-dark\":`#b392f0`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`openclaw`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` models`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` auth`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` paste-token`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` --provider`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` anthropic`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`openclaw`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` models`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` auth`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` paste-token`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` --provider`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` openrouter`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`정적 자격 증명에는 auth profile ref도 지원합니다.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`api_key`}),` 자격 증명은 `,_jsx(_components.code,{children:`keyRef: { source, provider, id }`}),`를 사용할 수 있습니다.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`token`}),` 자격 증명은 `,_jsx(_components.code,{children:`tokenRef: { source, provider, id }`}),`를 사용할 수 있습니다.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`자동화 친화적인 점검 명령은 다음과 같습니다. 만료되었거나 누락되면 exit `,_jsx(_components.code,{children:`1`}),`, 만료 임박이면 `,_jsx(_components.code,{children:`2`}),`를 반환합니다.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes min-light min-dark`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1f1f1f`,color:`#24292eff`,\"--shiki-dark\":`#b392f0`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`openclaw`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` models`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` status`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` --check`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`선택적 운영 스크립트(systemd/Termux)는 여기 문서화되어 있습니다:\n`,_jsx(_components.a,{href:`/automation/auth-monitoring`,children:`/automation/auth-monitoring`})]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`claude setup-token`}),`은 interactive TTY가 필요합니다.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`모델-인증-상태-확인`,children:`모델 인증 상태 확인`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes min-light min-dark`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1f1f1f`,color:`#24292eff`,\"--shiki-dark\":`#b392f0`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`openclaw`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` models`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` status`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`openclaw`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` doctor`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`api-key-rotation-동작-gateway`,children:`API key rotation 동작(gateway)`}),`\n`,_jsx(_components.p,{children:`일부 provider는 API 호출이 rate limit에 걸렸을 때 다른 key로 재시도할 수 있습니다.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`우선순위:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`OPENCLAW_LIVE_\u003cPROVIDER>_KEY`}),` (단일 override)`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`\u003cPROVIDER>_API_KEYS`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`\u003cPROVIDER>_API_KEY`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`\u003cPROVIDER>_API_KEY_*`})}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`Google provider는 추가 fallback으로 `,_jsx(_components.code,{children:`GOOGLE_API_KEY`}),`도 포함합니다.`]}),`\n`,_jsx(_components.li,{children:`동일한 key 목록은 사용 전에 dedupe됩니다.`}),`\n`,_jsxs(_components.li,{children:[`OpenClaw는 rate-limit 오류(예: `,_jsx(_components.code,{children:`429`}),`, `,_jsx(_components.code,{children:`rate_limit`}),`, `,_jsx(_components.code,{children:`quota`}),`, `,_jsx(_components.code,{children:`resource exhausted`}),`)에 대해서만 다음 key로 재시도합니다.`]}),`\n`,_jsx(_components.li,{children:`rate-limit이 아닌 오류에는 다른 key로 재시도하지 않습니다.`}),`\n`,_jsx(_components.li,{children:`모든 key가 실패하면 마지막 시도의 최종 오류를 반환합니다.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`사용할-자격-증명-제어`,children:`사용할 자격 증명 제어`}),`\n`,_jsx(Heading,{level:`3`,id:`세션-단위-채팅-명령`,children:`세션 단위(채팅 명령)`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`/model \u003calias-or-id>@\u003cprofileId>`}),`를 사용하면 현재 세션에서 특정 provider 자격 증명을 고정할 수 있습니다. 예시 profile id: `,_jsx(_components.code,{children:`anthropic:default`}),`, `,_jsx(_components.code,{children:`anthropic:work`})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`/model`}),` 또는 `,_jsx(_components.code,{children:`/model list`}),`는 간단한 picker를 보여주고, `,_jsx(_components.code,{children:`/model status`}),`는 전체 보기(candidates + next auth profile, 그리고 설정된 경우 provider endpoint 상세 정보)를 보여줍니다.`]}),`\n`,_jsx(Heading,{level:`3`,id:`에이전트-단위-cli-override`,children:`에이전트 단위(CLI override)`}),`\n`,_jsxs(_components.p,{children:[`에이전트별로 명시적인 auth profile 순서를 설정할 수 있습니다. 이 값은 해당 agent의 `,_jsx(_components.code,{children:`auth-profiles.json`}),`에 저장됩니다.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes min-light min-dark`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1f1f1f`,color:`#24292eff`,\"--shiki-dark\":`#b392f0`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`openclaw`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` models`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` auth`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` order`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` get`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` --provider`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` anthropic`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`openclaw`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` models`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` auth`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` order`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` set`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` --provider`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` anthropic`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` anthropic:default`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`openclaw`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` models`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` auth`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` order`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` clear`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` --provider`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` anthropic`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`특정 agent를 대상으로 하려면 `,_jsx(_components.code,{children:`--agent \u003cid>`}),`를 사용하고, 생략하면 설정된 기본 agent에 적용됩니다.`]}),`\n`,_jsx(Heading,{level:`2`,id:`문제-해결`,children:`문제 해결`}),`\n`,_jsx(Heading,{level:`3`,id:`“no-credentials-found”`,children:`“No credentials found”`}),`\n`,_jsxs(_components.p,{children:[`Anthropic token profile이 없다면 `,_jsx(_components.strong,{children:`gateway host`}),`에서 `,_jsx(_components.code,{children:`claude setup-token`}),`을 실행한 뒤 다시 점검하세요.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes min-light min-dark`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#1f1f1f`,color:`#24292eff`,\"--shiki-dark\":`#b392f0`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`openclaw`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` models`}),_jsx(_components.span,{style:{color:`#2B5581`,\"--shiki-dark\":`#9DB1C5`},children:` status`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`token-expiring/expired`,children:`Token expiring/expired`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`openclaw models status`}),`로 어떤 profile이 만료 중인지 확인하세요. profile이 없다면 `,_jsx(_components.code,{children:`claude setup-token`}),`을 다시 실행하고 토큰을 다시 붙여 넣으세요.`]}),`\n`,_jsx(Heading,{level:`2`,id:`요구-사항`,children:`요구 사항`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Anthropic subscription 계정(`,_jsx(_components.code,{children:`claude setup-token`}),`용)`]}),`\n`,_jsxs(_components.li,{children:[`Claude Code CLI 설치(`,_jsx(_components.code,{children:`claude`}),` 명령 사용 가능)`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"min-light","dark":"min-dark"}},"config":{},"pageMetadata":{"title":"Authentication","description":"OpenClaw Gateway에서 모델 제공자 OAuth, API key, Anthropic setup-token 인증을 구성하고 점검하는 가이드","summary":"모델 인증 가이드: OAuth, API keys, setup-token","read_when":["모델 인증 문제나 OAuth 만료를 디버깅할 때","인증 또는 자격 증명 저장 방식을 문서화할 때"],"x-i18n":{"source_path":"gateway/authentication.md"},"href":"/ko-KR/gateway/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Authentication","slug":"authentication","depth":1,"children":[]},{"title":"권장 설정(API key, 모든 provider 공통)","slug":"권장-설정-api-key-모든-provider-공통","depth":2,"children":[]},{"title":"Anthropic: setup-token(구독 인증)","slug":"anthropic-setup-token-구독-인증","depth":2,"children":[]},{"title":"모델 인증 상태 확인","slug":"모델-인증-상태-확인","depth":2,"children":[]},{"title":"API key rotation 동작(gateway)","slug":"api-key-rotation-동작-gateway","depth":2,"children":[]},{"title":"사용할 자격 증명 제어","slug":"사용할-자격-증명-제어","depth":2,"children":[{"title":"세션 단위(채팅 명령)","slug":"세션-단위-채팅-명령","depth":3,"children":[]},{"title":"에이전트 단위(CLI override)","slug":"에이전트-단위-cli-override","depth":3,"children":[]}]},{"title":"문제 해결","slug":"문제-해결","depth":2,"children":[{"title":"“No credentials found”","slug":"“no-credentials-found”","depth":3,"children":[]},{"title":"Token expiring/expired","slug":"token-expiring/expired","depth":3,"children":[]}]},{"title":"요구 사항","slug":"요구-사항","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/nanoagent/27fa1e35cfee10a0/nav-tabs-underline.js","/_mintlify/custom/nanoagent/6aad8cd7ec90af52/adsense.js"],"subdomain":"nanoagent","siteName":"OpenClaw","title":"Authentication - OpenClaw","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"ja":{"href":"/","matchLevel":4},"ko":{"href":"/ko-KR/gateway/authentication","matchLevel":0}}},"lastModified":"2026-03-16T07:29:35.375Z","originalFileLocation":"ko-KR/gateway/authentication.md","locale":"ko"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"OpenClaw Gateway에서 모델 제공자 OAuth, API key, Anthropic setup-token 인증을 구성하고 점검하는 가이드\">\u003cmeta data-mint-head name=\"application-name\" content=\"OpenClaw\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nanoagent/-_KTfK0XMpjxLotj/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/nanoagent/-_KTfK0XMpjxLotj/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nanoagent/-_KTfK0XMpjxLotj/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/nanoagent/-_KTfK0XMpjxLotj/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/nanoagent/-_KTfK0XMpjxLotj/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nanoagent/-_KTfK0XMpjxLotj/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nanoagent/-_KTfK0XMpjxLotj/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/nanoagent/-_KTfK0XMpjxLotj/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/nanoagent/-_KTfK0XMpjxLotj/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - OpenClaw\">\u003cmeta data-mint-head property=\"og:description\" content=\"OpenClaw Gateway에서 모델 제공자 OAuth, API key, Anthropic setup-token 인증을 구성하고 점검하는 가이드\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OpenClaw\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://openclawdoc.org/ko-KR/gateway/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nanoagent.mintlify.site/_mintlify/api/og/v2?division=%EC%84%A4%EC%A0%95+%EB%B0%8F+%EC%9A%B4%EC%98%81\u0026amp;title=Authentication\u0026amp;description=OpenClaw+Gateway%EC%97%90%EC%84%9C+%EB%AA%A8%EB%8D%B8+%EC%A0%9C%EA%B3%B5%EC%9E%90+OAuth%2C+API+key%2C+Anthropic+setup-token+%EC%9D%B8%EC%A6%9D%EC%9D%84+%EA%B5%AC%EC%84%B1%ED%95%98%EA%B3%A0+%EC%A0%90%EA%B2%80%ED%95%98%EB%8A%94+%EA%B0%80%EC%9D%B4%EB%93%9C\u0026amp;theme=5f27e2f188c41acc7d886688\u0026amp;signature=8ea8fe0bc55b4fda150da4da6c76f3b3bd43e19231070e52081b495306c7b27f\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Authentication - OpenClaw\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"OpenClaw Gateway에서 모델 제공자 OAuth, API key, Anthropic setup-token 인증을 구성하고 점검하는 가이드\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nanoagent.mintlify.site/_mintlify/api/og/v2?division=%EC%84%A4%EC%A0%95+%EB%B0%8F+%EC%9A%B4%EC%98%81\u0026amp;title=Authentication\u0026amp;description=OpenClaw+Gateway%EC%97%90%EC%84%9C+%EB%AA%A8%EB%8D%B8+%EC%A0%9C%EA%B3%B5%EC%9E%90+OAuth%2C+API+key%2C+Anthropic+setup-token+%EC%9D%B8%EC%A6%9D%EC%9D%84+%EA%B5%AC%EC%84%B1%ED%95%98%EA%B3%A0+%EC%A0%90%EA%B2%80%ED%95%98%EB%8A%94+%EA%B0%80%EC%9D%B4%EB%93%9C\u0026amp;theme=5f27e2f188c41acc7d886688\u0026amp;signature=8ea8fe0bc55b4fda150da4da6c76f3b3bd43e19231070e52081b495306c7b27f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/nanoagent/-_KTfK0XMpjxLotj/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OpenClaw\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF5A36\">\u003clink data-mint-head rel=\"canonical\" href=\"https://openclawdoc.org/ko-KR/gateway/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/ko-KR/gateway/authentication.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://openclawdoc.org/#organization\",\"name\":\"OpenClaw\",\"url\":\"https://openclawdoc.org\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nanoagent/UbYVQ4IaiMdzoaqN/assets/pixel-lobster.svg?fit=max\u0026auto=format\u0026n=UbYVQ4IaiMdzoaqN\u0026q=85\u0026s=bdcd3dfb3f3b11757b6e6beb1f973df8\"}},{\"@type\":\"WebSite\",\"@id\":\"https://openclawdoc.org#website\",\"name\":\"OpenClaw\",\"url\":\"https://openclawdoc.org\",\"publisher\":{\"@id\":\"https://openclawdoc.org/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://openclawdoc.org/ko-KR/gateway/authentication#webpage\",\"url\":\"https://openclawdoc.org/ko-KR/gateway/authentication\",\"name\":\"Authentication\",\"description\":\"OpenClaw Gateway에서 모델 제공자 OAuth, API key, Anthropic setup-token 인증을 구성하고 점검하는 가이드\",\"dateModified\":\"2026-03-16T07:29:35.375Z\",\"isPartOf\":{\"@id\":\"https://openclawdoc.org#website\"},\"breadcrumb\":{\"@id\":\"https://openclawdoc.org/ko-KR/gateway/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://openclawdoc.org/ko-KR/gateway/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"게이트웨이\",\"item\":\"https://openclawdoc.org/ko-KR/gateway/index\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"설정 및 운영\",\"item\":\"https://openclawdoc.org/ko-KR/gateway/configuration\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Authentication\",\"item\":\"https://openclawdoc.org/ko-KR/gateway/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://openclawdoc.org/ko-KR/gateway/authentication#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"OpenClaw Gateway에서 모델 제공자 OAuth, API key, Anthropic setup-token 인증을 구성하고 점검하는 가이드\",\"url\":\"https://openclawdoc.org/ko-KR/gateway/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://openclawdoc.org/ko-KR/gateway/authentication#webpage\"},\"dateModified\":\"2026-03-16T07:29:35.375Z\",\"publisher\":{\"@id\":\"https://openclawdoc.org/#organization\"},\"isPartOf\":{\"@id\":\"https://openclawdoc.org#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OpenClaw\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"OpenClaw","nav":{"global":null,"languages":[{"language":"ja","pages":[{"title":"ja","href":"/"}]},{"language":"ko","tabs":[{"tab":"시작하기","pages":[{"title":"시작하기","href":"/ko-KR"}]},{"tab":"설치","pages":[{"title":"설치","href":"/ko-KR/install"}]},{"tab":"채널","pages":[{"title":"채널","href":"/ko-KR/channels"}]},{"tab":"에이전트","pages":[{"title":"에이전트","href":"/ko-KR/pi"}]},{"tab":"도구","pages":[{"title":"도구","href":"/ko-KR/tools"}]},{"tab":"모델","pages":[{"title":"모델","href":"/ko-KR/providers"}]},{"tab":"플랫폼","pages":[{"title":"플랫폼","href":"/ko-KR/platforms"}]},{"tab":"게이트웨이 및 운영","groups":[{"group":"게이트웨이","pages":[{"title":"Gateway 운영 가이드","href":"/ko-KR/gateway"},{"group":"설정 및 운영","pages":[{"title":"설정","href":"/ko-KR/gateway/configuration"},{"title":"구성 참조","href":"/ko-KR/gateway/configuration-reference"},{"description":"OpenClaw의 공통 설치 시나리오에 맞춘 스키마 정확한 설정 예시를 모아 둔 가이드","title":"Configuration Examples","href":"/ko-KR/gateway/configuration-examples"},{"title":"Authentication","href":"/ko-KR/gateway/authentication"},{"title":"인증 자격 증명 시맨틱","description":"인증 프로필의 자격 증명 선택 기준과 해석 규칙, 상태 코드, probe 메시지 호환성 원칙을 설명합니다.","href":"/ko-KR/auth-credential-semantics"},{"title":"시크릿 관리","href":"/ko-KR/gateway/secrets"},{"title":"시크릿 적용 계획 규격","href":"/ko-KR/gateway/secrets-plan-contract"},{"title":"신뢰할 수 있는 프록시 인증","href":"/ko-KR/gateway/trusted-proxy-auth"},{"title":"Health Checks","href":"/ko-KR/gateway/health"},{"title":"Heartbeat","href":"/ko-KR/gateway/heartbeat"},{"title":"Doctor","href":"/ko-KR/gateway/doctor"},{"title":"로깅","href":"/ko-KR/gateway/logging"},{"title":"Gateway Lock","href":"/ko-KR/gateway/gateway-lock"},{"title":"백그라운드 실행 및 프로세스 도구","href":"/ko-KR/gateway/background-process"},{"title":"멀티 Gateway 운영","href":"/ko-KR/gateway/multiple-gateways"},{"title":"Troubleshooting","href":"/ko-KR/gateway/troubleshooting"}]},{"group":"보안 및 샌드박스","pages":[{"title":"Security","href":"/ko-KR/gateway/security/index"},{"title":"Sandboxing","href":"/ko-KR/gateway/sandboxing"},{"title":"Sandbox vs Tool Policy vs Elevated","href":"/ko-KR/gateway/sandbox-vs-tool-policy-vs-elevated"}]},{"group":"프로토콜 및 API","pages":[{"title":"Gateway 프로토콜","href":"/ko-KR/gateway/protocol"},{"title":"브리지 프로토콜 (레거시)","href":"/ko-KR/gateway/bridge-protocol"},{"title":"OpenAI 호환 API (HTTP)","href":"/ko-KR/gateway/openai-http-api"},{"title":"OpenResponses API","href":"/ko-KR/gateway/openresponses-http-api"},{"title":"도구 호출 API","href":"/ko-KR/gateway/tools-invoke-http-api"},{"title":"CLI Backends","href":"/ko-KR/gateway/cli-backends"},{"title":"Local Models","href":"/ko-KR/gateway/local-models"}]},{"group":"네트워크 및 탐색","pages":[{"title":"네트워크 모델","href":"/ko-KR/gateway/network-model"},{"title":"Gateway 주도 페어링","href":"/ko-KR/gateway/pairing"},{"title":"탐색 및 전송","href":"/ko-KR/gateway/discovery"},{"title":"Bonjour Discovery","href":"/ko-KR/gateway/bonjour"}]}]},{"group":"원격 액세스","pages":[{"title":"Remote Access","href":"/ko-KR/gateway/remote"},{"title":"Remote Gateway Setup","href":"/ko-KR/gateway/remote-gateway-readme"},{"title":"Tailscale","href":"/ko-KR/gateway/tailscale"}]},{"group":"보안","pages":[{"title":"정형 검증 (보안 모델)","href":"/ko-KR/security/formal-verification"},{"title":"README","href":"/ko-KR/security/README"},{"title":"OpenClaw Threat Model v1.0","href":"/ko-KR/security/THREAT-MODEL-ATLAS"},{"title":"위협 모델 기여하기","href":"/ko-KR/security/CONTRIBUTING-THREAT-MODEL"}]},{"group":"웹 인터페이스","pages":[{"title":"웹","href":"/ko-KR/web/index"},{"title":"Control UI","href":"/ko-KR/web/control-ui"},{"title":"대시보드","href":"/ko-KR/web/dashboard"},{"title":"WebChat","href":"/ko-KR/web/webchat"},{"title":"TUI","href":"/ko-KR/web/tui"}]}]},{"tab":"참조","pages":[{"title":"참조","href":"/ko-KR/cli"}]},{"tab":"도움말","pages":[{"title":"도움말","href":"/ko-KR/help"}]}]}]},"basePath":"","title":"Authentication - OpenClaw","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":[],"chunks":[]}