-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.sops.yaml
More file actions
27 lines (26 loc) · 1.04 KB
/
Copy path.sops.yaml
File metadata and controls
27 lines (26 loc) · 1.04 KB
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
# SOPS configuration file
# See: https://github.com/mozilla/sops#using-sops-yaml-conf-to-select-kdfpem-and-keys-for-new-documents
# Reference: https://github.com/Mic92/sops-nix
# YAML anchors allow reuse of multiple keys without repetition
keys:
# Add your age public keys here (get with: age-keygen -y ~/.config/sops/age/keys.txt)
# - &admin_kaizen age1...your-public-key-here...
# Add SSH host keys converted to age format (for automatic decryption on target machine)
# Get with: ssh-keyscan <hostname> | ssh-to-age
# - &host_default age1...host-key-here...
creation_rules:
- path_regex: secrets/.*\.(yaml|json|env|ini)$
key_groups:
- age:
# - *admin_kaizen
# - *host_default
# Add your age public key here (temporary until you set up YAML anchors above)
- age1... # Replace with your actual age public key
# Alternative: GPG key configuration
# keys:
# - &admin_kaizen FINGERPRINT1
# creation_rules:
# - path_regex: secrets/.*\.(yaml|json|env|ini)$
# key_groups:
# - pgp:
# - *admin_kaizen