File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11_ :
2- deploy : &deploy age12n68j7wyf97vrw4jwr5x0gf2zdcumh65r9uq3mctsa6y9f8ex4yqm2gx06
3- aster-void : &aster-void age1mc8e35xaeteup9t88369j7y0ka08et8ezztqzc7dy0h4ecgxh47szjwx9v
2+ age-public-keys :
3+ - &deploy age12n68j7wyf97vrw4jwr5x0gf2zdcumh65r9uq3mctsa6y9f8ex4yqm2gx06
4+ - &aster-void age1mc8e35xaeteup9t88369j7y0ka08et8ezztqzc7dy0h4ecgxh47szjwx9v
45
56creation_rules :
6- - path_regex : .*
7+ - path_regex : bots/auto-moderator/sops2.env
8+ age :
9+ - *deploy
10+ - path_regex : bots/auto-moderator/*
711 age :
812 - *deploy
913 - *aster-void
Original file line number Diff line number Diff line change 11- ` sops -d ` を実行しない。コマンドを実行する必要がある場合は ` sops exec-env ` で直接実行する
2- - ` .age-key ` を読まない。
2+ - ` .age-key ` を読まない
33
44## コマンド実行方法
55
66``` bash
77eval " $( direnv export bash) " && < command>
88```
9+
10+ ## SOPS検証方法
11+
12+ ``` bash
13+ sops exec-env path/to/sops.env ' echo success!'
14+ ```
Original file line number Diff line number Diff line change @@ -27,6 +27,14 @@ creation_rules:
2727sops exec-env sops.env ' your-command'
2828```
2929
30+ ## 再暗号化
31+
32+ ` .sops.yaml ` のキーを変更した後に実行:
33+
34+ ``` bash
35+ sops updatekeys sops.env
36+ ```
37+
3038## 公開鍵を取得
3139
3240``` bash
You can’t perform that action at this time.
0 commit comments