data.box_login
Make one node's Box login through the owner's own OAuth app, once, signing in as the Box account made for that node. Written to a file only the caller can read and never printed; a login has one live copy, so each node gets its own.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- data.box_login
- description
- Make one node's Box login through the owner's own OAuth app, once, signing in as the Box account made for that node. Written to a file only the caller can read and never printed; a login has one live copy, so each node gets its own.
03 SKILL.md 正文
data.box_login
axi data box-login --app <vault entry> --out <new file> [--port 8717] [--no-browser]
For the person who runs the Box side of a partner install (not the partner). Opens
Box's own sign-in page, catches the answer on http://localhost:<port> (the redirect
the owner's app registered), trades it for a login, and writes the login as one line
starting {"access_token" to a new file with mode 600. The login is never printed,
and the file is never overwritten.
The app's client id and secret come from the vault, as JSON {"client_id": ..., "client_secret": ...}
(store with axi vault set); they are never typed on a command line.
Why one per node: Box renews a login on every use and cancels the old one, so two nodes holding one login break each other. Sign in as the Box account made for this node, not as a person.
Next: send the one line to the partner by a secure channel, then delete the file. The node
reads it with axi data forward --box-login <name> --box-app <app entry>.
When the node does not exist yet, hold the login here instead of sending it:
axi data edge-login reserve <name> --folder-id <id> --app <app entry>, then
axi data edge-login capture <name> --login-file <the file>, and delete the file.
axi data edge-login list says when a held login needs renewing (about 60 days unused),
and axi data edge-login attach moves it onto the node, keeping no copy here.
04 同仓库更多 Skills
library.transfer
Make someone already on a Library file's or folder's access list its Owner; you become an Editor and it stays where it is filed.
share
暂无简介
library.request
Ask the Owner for access to a Library file or folder (works from its address alone, which reveals nothing), see or withdraw your request, remind once a day; or, as someone who may share it, list its requests and approve (with the role you choose) or decline with a reason.
access
暂无简介
release.unlock
Lift the release lock now: re-arm the pull requests it disarmed, comment, clear the repository marker, and tell the roster.
release.lock_status
Whether a release lock is held on a repository, by whom, why, until when, and which pull requests it disarmed. Reads the local state file and the repo marker.