SecretRef 자격 증명 표면
이 문서는 정식 SecretRef 자격 증명 표면을 정의합니다. 범위 의도:- 지원 범위: OpenClaw가 직접 발급하거나 회전하지 않는, 사용자가 제공한 자격 증명
- 지원 제외: 런타임이 발급하는 자격 증명, 회전형 자격 증명, OAuth refresh material, 세션성 산출물
지원되는 자격 증명
openclaw.json 대상 (secrets configure + secrets apply + secrets audit)
models.providers.*.apiKeymodels.providers.*.headers.*skills.entries.*.apiKeyagents.defaults.memorySearch.remote.apiKeyagents.list[].memorySearch.remote.apiKeytalk.apiKeytalk.providers.*.apiKeymessages.tts.elevenlabs.apiKeymessages.tts.openai.apiKeytools.web.search.apiKeytools.web.search.gemini.apiKeytools.web.search.grok.apiKeytools.web.search.kimi.apiKeytools.web.search.perplexity.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.elevenlabs.apiKeychannels.discord.voice.tts.openai.apiKeychannels.discord.accounts.*.tokenchannels.discord.accounts.*.pluralkit.tokenchannels.discord.accounts.*.voice.tts.elevenlabs.apiKeychannels.discord.accounts.*.voice.tts.openai.apiKeychannels.irc.passwordchannels.irc.nickserv.passwordchannels.irc.accounts.*.passwordchannels.irc.accounts.*.nickserv.passwordchannels.bluebubbles.passwordchannels.bluebubbles.accounts.*.passwordchannels.feishu.appSecretchannels.feishu.verificationTokenchannels.feishu.accounts.*.appSecretchannels.feishu.accounts.*.verificationTokenchannels.msteams.appPasswordchannels.mattermost.botTokenchannels.mattermost.accounts.*.botTokenchannels.matrix.passwordchannels.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")profiles.*.tokenRef(type: "token")
- auth-profile plan 대상에는
agentId가 필요합니다. - plan 항목은
profiles.*.key/profiles.*.token을 대상으로 하고, 실제로는 sibling ref (keyRef/tokenRef)를 씁니다. - auth-profile ref는 런타임 해석과 audit 범위에 포함됩니다.
- SecretRef-managed 모델 프로바이더의 경우, 생성된
agents/*/agent/models.json항목은apiKey/header 표면에 대해 해석된 비밀이 아닌 비비밀 marker를 저장합니다. - 웹 검색의 경우:
- 명시적 provider mode(
tools.web.search.provider설정)에서는 선택된 provider key만 활성입니다. - auto mode(
tools.web.search.provider미설정)에서는tools.web.search.apiKey와 provider별 key가 모두 활성입니다.
- 명시적 provider mode(
지원되지 않는 자격 증명
commands.ownerDisplaySecretchannels.matrix.accessTokenchannels.matrix.accounts.*.accessTokenhooks.tokenhooks.gmail.pushTokenhooks.mappings[].sessionKeyauth-profiles.oauth.*discord.threadBindings.*.webhookTokenwhatsapp.creds.json
- 이 자격 증명들은 발급형, 회전형, 세션성, 또는 OAuth 지속성 자격 증명에 속하므로 읽기 전용 외부 SecretRef 해석 모델에 맞지 않습니다.
최근 업데이트 메모
tools.web.fetch.firecrawl.apiKey,channels.feishu.encryptKey,channels.feishu.accounts.*.encryptKey가 SecretRef 지원 표면에 포함됩니다.- SecretRef-managed provider marker는 해석된 런타임 비밀값이 아니라 source config snapshot을 기준으로 저장됩니다.
tools.web.search.provider가 unset인 auto 모드에서는 precedence상 처음 성공적으로 해석된 provider key만 활성입니다.