Feishu 飞书 (中国)

How an agent gets a Feishu 飞书 (中国) key through KeyKeeper, what to choose on open.feishu.cn, and how KeyKeeper verifies it.

Template idfeishu (also 飞书)
Fieldfeishu-app-secret → FEISHU_APP_SECRET · secret
Alsofeishu-app-id → FEISHU_APP_ID · plain, confirmed by you
Key looks likewhether it can be viewed again is unconfirmed
Created atopen.feishu.cn
Verified by KeyKeepernot verified
Template checked2026-09-15

What the agent does

keykeeper providers show feishu
keykeeper save --provider feishu --from-clipboard --create --purpose "what this task does"
keykeeper run -c feishu -- <your command>

--provider feishu fills in the credential id and the fields. The environment variables are the ones Feishu / Lark's own tools read, so nothing has to be mapped.

What only you can do

Sign in to Feishu Open Platform
Create or select a custom app
Add only required permissions and data scopes
Publish/install the app in the intended tenant
Copy the key, then approve the save in KeyKeeper's window.

What to choose

Use a custom app with only the exact API permissions and smallest data scope needed. Keep App ID as public metadata and App Secret as the only secret field.

The agent is told the same thing. It opens the page for you and says what to pick; it never logs in, passes 2FA or pays on your behalf.

What KeyKeeper checks

  • Before writing: the value must look like a Feishu 飞书 (中国) key (whether it can be viewed again is unconfirmed). A wrong paste is refused before anything is stored, and the agent is told why — without the value.
  • After saving: Feishu 飞书 (中国) offers no read-only endpoint KeyKeeper can use, so the first real call is the test.

Rotation and expiry

The App Secret remains valid until reset. Rotate or revoke at open.feishu.cn.