summaryrefslogtreecommitdiff
path: root/.sops.yaml
blob: 0dba3f4083b679dcf75c92110852c799f1332bbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
keys:
  - &admin_gkleen age1rmmhetcmllq0ahl5qznlr0eya2zdxwl9h6y5wnl97d2wtyx5t99sm2u866
  - &machine_surtr age19a7j77w267z04zls7m28a8hj4a0g5af6ltye2d5wypg33c3l89csd4r9zq
  - &machine_vidhar age1qffdqvy9arld9zd5a5cylt0n98xhcns5shxhrhwjq5g4qa844ejselaa4l
  - &machine_sif age1fj65apkhfkrwyv5tx6zcs9nkjg8267fy733qph30sc7zfn7vapjqkd5kne

creation_rules:
  - path_regex: surtr[^\/]*$
    key_groups:
      - age: [ *admin_gkleen, *machine_surtr ]
  - path_regex: vidhar[^\/]*$
    key_groups:
      - age: [ *admin_gkleen, *machine_vidhar ]
  - path_regex: sif[^\/]*$
    key_groups:
      - age: [ *admin_gkleen, *machine_sif ]
  - path_regex: ^hosts/surtr/
    key_groups:
      - age: [ *admin_gkleen, *machine_surtr ]
  - path_regex: ^hosts/vidhar/
    key_groups:
      - age: [ *admin_gkleen, *machine_vidhar ]
  - path_regex: ^hosts/sif/
    key_groups:
      - age: [ *admin_gkleen, *machine_sif ]
  - path_regex: ^modules/yggdrasil/hosts/sif/
    key_groups:
      - age: [ *admin_gkleen, *machine_sif ]