Technical reference
SecretRef 자격 증명 표면
이 페이지는 표준 SecretRef 자격 증명 표면을 정의합니다. 즉, 원시 비밀 값 대신 SecretRef(env/file/exec 기반 참조)를 허용하는 자격 증명 필드를 설명합니다.
범위:
- 범위 내: OpenClaw가 발급하거나 순환하지 않는, 엄격히 사용자가 제공한 자격 증명.
- 범위 외: 런타임에서 발급되거나 순환되는 자격 증명, OAuth 갱신 자료 및 세션과 유사한 아티팩트.
아래 목록은 소스 대상 레지스트리에서 생성되며 CI에서 docs/reference/secretref-user-supplied-credentials-matrix.json과 대조하여 검사됩니다. 항목을 직접 편집하지 마세요.
지원되는 자격 증명
openclaw.json 대상(secrets configure + secrets apply + secrets audit)
models.providers.*.apiKeymodels.providers.*.headers.*models.providers.*.request.auth.tokenmodels.providers.*.request.auth.valuemodels.providers.*.request.headers.*models.providers.*.request.proxy.tls.camodels.providers.*.request.proxy.tls.certmodels.providers.*.request.proxy.tls.keymodels.providers.*.request.proxy.tls.passphrasemodels.providers.*.request.tls.camodels.providers.*.request.tls.certmodels.providers.*.request.tls.keymodels.providers.*.request.tls.passphraseskills.entries.*.apiKeyagents.defaults.memorySearch.remote.apiKeyagents.list[].tts.providers.*.apiKeyagents.list[].memorySearch.remote.apiKeytalk.providers.*.apiKeytalk.realtime.providers.*.apiKeymessages.tts.providers.*.apiKeytools.web.fetch.firecrawl.apiKeyplugins.entries.acpx.config.mcpServers.*.env.*plugins.entries.brave.config.webSearch.apiKeyplugins.entries.codex.config.appServer.authTokenplugins.entries.codex.config.appServer.headers.*plugins.entries.exa.config.webSearch.apiKeyplugins.entries.google-meet.config.realtime.providers.*.apiKeyplugins.entries.google.config.webSearch.apiKeyplugins.entries.xai.config.webSearch.apiKeyplugins.entries.moonshot.config.webSearch.apiKeyplugins.entries.perplexity.config.webSearch.apiKeyplugins.entries.firecrawl.config.webSearch.apiKeyplugins.entries.minimax.config.webSearch.apiKeyplugins.entries.tavily.config.webSearch.apiKeyplugins.entries.parallel.config.webSearch.apiKeyplugins.entries.voice-call.config.realtime.providers.*.apiKeyplugins.entries.voice-call.config.streaming.providers.*.apiKeyplugins.entries.voice-call.config.tts.providers.*.apiKeyplugins.entries.voice-call.config.twilio.authTokentools.web.search.*.apiKeytools.web.search.apiKeygateway.auth.passwordgateway.auth.tokengateway.remote.tokengateway.remote.passwordcron.webhookTokenchannels.telegram.botTokenchannels.telegram.webhookSecretchannels.telegram.accounts.*.botTokenchannels.telegram.accounts.*.webhookSecretchannels.slack.botTokenchannels.slack.appTokenchannels.slack.relay.authTokenchannels.slack.userTokenchannels.slack.signingSecretchannels.slack.accounts.*.botTokenchannels.slack.accounts.*.appTokenchannels.slack.accounts.*.relay.authTokenchannels.slack.accounts.*.userTokenchannels.slack.accounts.*.signingSecretchannels.sms.authTokenchannels.sms.accounts.*.authTokenchannels.discord.tokenchannels.discord.pluralkit.tokenchannels.discord.voice.tts.providers.*.apiKeychannels.discord.accounts.*.tokenchannels.discord.accounts.*.pluralkit.tokenchannels.discord.accounts.*.voice.tts.providers.*.apiKeychannels.irc.passwordchannels.irc.nickserv.passwordchannels.irc.accounts.*.passwordchannels.irc.accounts.*.nickserv.passwordchannels.feishu.appSecretchannels.feishu.encryptKeychannels.feishu.verificationTokenchannels.feishu.accounts.*.appSecretchannels.feishu.accounts.*.encryptKeychannels.feishu.accounts.*.verificationTokenchannels.qqbot.clientSecretchannels.qqbot.accounts.*.clientSecretchannels.msteams.appPasswordchannels.mattermost.botTokenchannels.mattermost.accounts.*.botTokenchannels.matrix.accessTokenchannels.matrix.passwordchannels.matrix.accounts.*.accessTokenchannels.matrix.accounts.*.passwordchannels.nextcloud-talk.botSecretchannels.nextcloud-talk.apiPasswordchannels.nextcloud-talk.accounts.*.botSecretchannels.nextcloud-talk.accounts.*.apiPasswordchannels.zalo.botTokenchannels.zalo.webhookSecretchannels.zalo.accounts.*.botTokenchannels.zalo.accounts.*.webhookSecret- 형제
serviceAccountRef를 통한channels.googlechat.serviceAccount(호환성 예외) - 형제
serviceAccountRef를 통한channels.googlechat.accounts.*.serviceAccount(호환성 예외)
auth-profiles.json 대상(secrets configure + secrets apply + secrets audit)
profiles.*.keyRef(type: "api_key";auth.profiles.<id>.mode = "oauth"인 경우 지원되지 않음)profiles.*.tokenRef(type: "token";auth.profiles.<id>.mode = "oauth"인 경우 지원되지 않음)
참고:
- 인증 프로필 계획 대상에는
agentId가 필요합니다. 계획 항목은profiles.*.key/profiles.*.token을 대상으로 하며 형제 참조(keyRef/tokenRef)를 기록합니다. 인증 프로필 참조는 런타임 해석 및 감사 범위에 포함됩니다. openclaw.json에서 SecretRef는{"source":"env","provider":"default","id":"DISCORD_BOT_TOKEN"}과 같은 구조화된 객체를 사용해야 합니다. 레거시secretref-env:<ENV_VAR>마커 문자열은 SecretRef 자격 증명 경로에서 거부됩니다. 유효한 마커를 마이그레이션하려면openclaw doctor --fix를 실행하세요.- OAuth 정책 보호 장치:
auth.profiles.<id>.mode = "oauth"는 해당 프로필의 SecretRef 입력과 함께 사용할 수 없습니다. 이 정책을 위반하면 시작/다시 로드 및 인증 프로필 해석이 즉시 실패합니다. - SecretRef로 관리되는 모델 공급자의 경우 생성된
agents/*/agent/models.json항목은apiKey/헤더 표면에 비밀이 아닌 마커(해석된 비밀 값이 아님)를 유지합니다. 마커 유지는 소스를 기준으로 합니다. OpenClaw는 해석된 런타임 비밀 값이 아니라 활성 소스 구성 스냅샷(해석 전)에서 마커를 기록합니다. - 웹 검색의 경우: 명시적 공급자 모드(
tools.web.search.provider설정)에서는 선택된 공급자의 키만 활성화됩니다. 자동 모드(tools.web.search.provider미설정)에서는 우선순위에 따라 해석되는 첫 번째 공급자 키만 활성화되며, 선택되지 않은 공급자 참조는 선택될 때까지 비활성 상태로 처리됩니다. 레거시tools.web.search.*공급자 경로는 호환성 기간 동안 계속 해석되지만, 표준 SecretRef 표면은plugins.entries.<plugin>.config.webSearch.*입니다.
지원되지 않는 자격 증명
이러한 자격 증명은 발급되거나 순환되거나 세션을 포함하거나 OAuth에서 지속되는 유형이므로 읽기 전용 외부 SecretRef 해석에 적합하지 않습니다.
commands.ownerDisplaySecrethooks.tokenhooks.gmail.pushTokenhooks.mappings[].sessionKeyauth-profiles.oauth.*channels.discord.threadBindings.webhookTokenchannels.discord.accounts.*.threadBindings.webhookTokenchannels.whatsapp.creds.jsonchannels.whatsapp.accounts.*.creds.json
관련 문서
Was this useful?