Files
mnote/skills/mnote-vault/agent-env.example.env

21 lines
867 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 复制到本机(勿提交仓库):
# mkdir -p ~/.config/mnote/agent-env
# cp agent-env.example.env ~/.config/mnote/agent-env/paseo.env
# chmod 600 ~/.config/mnote/agent-env/paseo.env
# 使用:
# set -a; source ~/.config/mnote/agent-env/paseo.env; set +a
# --- Vault capabilitymnv1.*)读密 / login ---
# 推荐按 subject 分文件,避免多用户互相覆盖 default.token
MNOTE_VAULT_TOKEN_FILE=~/.config/mnote/vault-tokens/mnote-e2e.token
# MNOTE_VAULT_TOKEN=mnv1.... # 可选:内联;优先于 FILE
# AI 密码本策略默认主体(share-to-AI 后由该主体 token 读)
MNOTE_AI_VAULT_ACTOR=mnote-e2e
# --- Web PATmnpat1.*)笔记 API(可选;与 vault 分职)---
# MNOTE_WEB_BASE_URL=http://127.0.0.1:3000
# MNOTE_WEB_PAT=mnpat1....
# 业务上游 API Key 不要写在这里 → 放密码箱条目,resolve 取出