加密项目环境命令
pinset env recipient add
允许另一个 age X25519 identity 解密某个 profile。
在 GitHub 查看源文档 ↗| 字段 | 说明 |
|---|---|
| 用途 | 允许另一个 age X25519 identity 解密某个 profile。 |
| 语法与参数 | pinset env recipient add <age1...> --profile <名称> [--cwd <路径>]。 |
| 修改状态 | 是。 先用现有 identity 解密,再原子重新加密到去重后的新 recipient 集合,最后更新 pinset.toml。 |
| 示例 | pinset env recipient add age1example... --profile production |
| JSON | 不支持。 |
| 关键错误 | recipient 无效、无现有匹配 identity、profile 未声明、密文不安全/已损坏或事务写入失败。 |
/docs/commands/env-recipient-addPinset 2.1