Skip to content

Commit

Permalink
feat(sops): add keys for serverz
Browse files Browse the repository at this point in the history
  • Loading branch information
sbulav committed Nov 8, 2024
1 parent 1b2f6c4 commit ba5d687
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
3 changes: 3 additions & 0 deletions nix/.sops.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
keys:
- &sab_nz age1p9ee76x0dlr7tm6v93r64p9ys5tqt9slhg6vyrn76qydh53gwuhsya0zsq
- &sab_mbp16 age18rax0jv4pj2yuegt7e5ea2wzu486mz9nl3vhsa09y45lzw8cj58stfdd6d
- &sab_serverz age1jdhfmp60w854vyg335p4982fqq9l5khdmaulsze0ywn9kupyypyqwm4ww8
- &host_mbp16 age17tnup59gy7jvj65la8nud0y6ukf57w0mueh3e4hxx5npwsa5x44sv765ru
- &host_nz age1ranl5gsq43t0z22s28zdhvfzrvqqpmwqcjc3h6latfa4rrruxpps34vgqj
- &host_serverz age1dcacppf640rzcfhmpgcm6eehux7lpdcy8336225gyl3kyw46c3ks3f3wta
creation_rules:
- path_regex: secrets/sab/[^/]+\.(yaml|json|env|ini)$
key_groups:
- age:
- *sab_nz
- *sab_mbp16
- *sab_serverz

- path_regex: secrets/nz@sab/[^/]+\.(yaml|json|env|ini)$
key_groups:
Expand Down
29 changes: 19 additions & 10 deletions nix/secrets/sab/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,29 @@ sops:
- recipient: age1p9ee76x0dlr7tm6v93r64p9ys5tqt9slhg6vyrn76qydh53gwuhsya0zsq
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBtOEZocndpd25PYWcrUWxF
NnpsTWVOK1Vwd1VMKzMxSFdEbU04UW5RaTI0CkJHb3Yzd3czV0JDM0p3ZlZrMHFE
ODZNZSsyYkpIVjkrQUx1dkNkNklvWTAKLS0tIHRjTkQzSUFDTm5ERXFGalRuSjgw
Z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
MDI4dzh1dlBTclVMbUs1WUNVcHVWTXMKyaw1q7LgPNEBq4wr17xUCqpKdXsAMc1j
hiP85GHGeChwM127bWuv6ae8eEyLVw6prjrB/3E1xsyOfnRGwASj+A==
-----END AGE ENCRYPTED FILE-----
- recipient: age1jdhfmp60w854vyg335p4982fqq9l5khdmaulsze0ywn9kupyypyqwm4ww8
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBHK2hKMFlJRkFrbU54VGpn
TUFHcVZ6ZEEzNnRvMDVWdnUyOC8yQytPTUcwCkhESktURDBRTXcwU0xwMWo1ZHJF
YkU4UFYwS2lpMXdEQVprOUl2OUpBNTQKLS0tIDFtRk0xT3RudWtzSW9Gc3MwTWxP
VUlMZGpNMGZjdzl3Nmd5dnJ4eUhRem8KCIJxtTUFgSaw/gHQuN15ffwCIJl4osCP
4qv2XZ2qhBBhXJtqmzEecMVKE/qeCU0x2Jl2TwaSZdnjwJ9b40Q7tw==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-11-02T10:50:35Z"
mac: ENC[AES256_GCM,data:3E+kRD3JwNaz5NKGRU/Z+jLMc+6vGplzvRBEO7y/dF6wke8Tg0+049aQj+WMg50wwBW8yG+VlaBAJ2aEfLz4w6lo/EDGaA3q3nFyOTMs1M9x/WltSbBEFCZMhAVWkq1aGH760PNUqEIPHQ33byYDFHrDuSmDhRxGCnAaSDPIhdk=,iv:oz3nuXunu6uwMl8VKjL50NViQ47pLMHblVDrfhSvBcU=,tag:My7PloK0IrEvE0Mhy2ilog==,type:str]
Expand Down

0 comments on commit ba5d687

Please sign in to comment.