Skip to content

Commit 9bf13cd

Browse files
aster-voidclaude
andcommitted
docs: inline decrypt check into command list
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4e9ecff commit 9bf13cd

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

docs/sops.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,20 +74,12 @@ sops updatekeys bots/my-bot/sops.env
7474

7575
変更された `sops.env` をコミットする。
7676

77-
## 復号できるか確認する (中身を見ずに)
78-
79-
```bash
80-
sops exec-env bots/my-bot/sops.env 'echo ok'
81-
```
82-
83-
`ok` が出れば鍵が正しい。値は表示されない。
84-
8577
## よく使うコマンド
8678

8779
```bash
8880
sops bots/my-bot/sops.env # 作成 or 編集
89-
sops exec-env bots/my-bot/sops.env 'echo ok' # 復号チェック (中身非表示)
9081
sops -d bots/my-bot/sops.env # 復号して stdout に表示
82+
sops exec-env bots/my-bot/sops.env 'echo ok' # 復号チェック (coding agent 向け)
9183
sops updatekeys bots/my-bot/sops.env # .sops.yaml の変更を反映
9284
age-keygen -y .age-key # 自分の公開鍵を表示
9385
```

0 commit comments

Comments
 (0)