SecretRef 자격 증명 표면
이 페이지는 정식 SecretRef 자격 증명 표면을 정의합니다. 범위 의도:- 범위 포함: OpenClaw가 생성하거나 순환하지 않는, 사용자가 엄격하게 제공한 자격 증명
- 범위 제외: 런타임에 생성되거나 순환되는 자격 증명, OAuth 갱신 자료, 세션 유사 아티팩트
지원되는 자격 증명
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[].memorySearch.remote.apiKeytalk.providers.*.apiKeymessages.tts.providers.*.apiKeytools.web.fetch.firecrawl.apiKeyplugins.entries.brave.config.webSearch.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.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.userTokenchannels.slack.signingSecretchannels.slack.accounts.*.botTokenchannels.slack.accounts.*.appTokenchannels.slack.accounts.*.userTokenchannels.slack.accounts.*.signingSecretchannels.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.bluebubbles.passwordchannels.bluebubbles.accounts.*.passwordchannels.feishu.appSecretchannels.feishu.encryptKeychannels.feishu.verificationTokenchannels.feishu.accounts.*.appSecretchannels.feishu.accounts.*.encryptKeychannels.feishu.accounts.*.verificationTokenchannels.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.*.webhookSecretchannels.googlechat.serviceAccountvia siblingserviceAccountRef(호환성 예외)channels.googlechat.accounts.*.serviceAccountvia siblingserviceAccountRef(호환성 예외)
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"일 때는 미지원)
- auth-profile 계획 대상에는
agentId가 필요합니다. - 계획 항목은
profiles.*.key/profiles.*.token을 대상으로 하며 형제 ref(keyRef/tokenRef)를 기록합니다. - auth-profile ref는 런타임 해석 및 감사 범위에 포함됩니다.
- OAuth 정책 가드:
auth.profiles.<id>.mode = "oauth"는 해당 프로필의 SecretRef 입력과 함께 사용할 수 없습니다. 이 정책을 위반하면 시작/리로드 및 auth-profile 해석은 빠르게 실패합니다. - SecretRef로 관리되는 모델 제공자의 경우, 생성된
agents/*/agent/models.json항목은apiKey/헤더 표면에 대해 비시크릿 마커(해석된 시크릿 값이 아님)를 유지합니다. - 마커 유지 저장은 소스 권위형입니다. OpenClaw는 해석된 런타임 시크릿 값이 아니라 활성 소스 config 스냅샷(해석 전)에서 마커를 기록합니다.
- 웹 검색의 경우:
- 명시적 제공자 모드(
tools.web.search.provider설정)에서는 선택된 제공자 키만 활성입니다. - 자동 모드(
tools.web.search.provider미설정)에서는 우선순위로 해석되는 첫 번째 제공자 키만 활성입니다. - 자동 모드에서는 선택되지 않은 제공자 ref는 선택될 때까지 비활성으로 처리됩니다.
- 레거시
tools.web.search.*제공자 경로는 호환성 기간 동안 계속 해석되지만, 정식 SecretRef 표면은plugins.entries.<plugin>.config.webSearch.*입니다.
- 명시적 제공자 모드(
지원되지 않는 자격 증명
범위 밖 자격 증명에는 다음이 포함됩니다.commands.ownerDisplaySecrethooks.tokenhooks.gmail.pushTokenhooks.mappings[].sessionKeyauth-profiles.oauth.*channels.discord.threadBindings.webhookTokenchannels.discord.accounts.*.threadBindings.webhookTokenchannels.whatsapp.creds.jsonchannels.whatsapp.accounts.*.creds.json
- 이러한 자격 증명은 생성되거나, 순환되거나, 세션을 보유하거나, 또는 읽기 전용 외부 SecretRef 해석에 맞지 않는 OAuth 내구 클래스입니다.