Files
homeprod/.sops.yaml
T
vhaudiquet b9c1f718f5 infra/kube: sops-encrypt Talos cluster and token secrets
The generic *.yaml creation rule only encrypted ^(data|stringData|.*key|.*crt)$,
so cluster.secret, secrets.bootstraptoken, secrets.secretboxencryptionsecret and
trustdinfo.token sat in plaintext in talsecret.sops.yaml on the remote.

Extend the rule with .*[Ss]ecret.*|.*[Tt]oken.* and re-encrypt the file;
values are unchanged (round-trip verified). Secrets themselves need rotating
separately, since the old ones were public until now.
2026-11-23 00:45:52 +01:00

12 lines
609 B
YAML

creation_rules:
- path_regex: .*values.yaml$
encrypted_regex: ^(password|value|ssh-key|api-key|user|username|privateKey|clientSecret|clientId|apiKey|extraArgs.*|.*Secret.*|extraEnvVars|.*SECRET.*|.*secret.*|key|.*Password|.*PASS|.*SOCIALACCOUNT_PROVIDERS|.*\.ya?ml|token)$
mac_only_encrypted: true
pgp: DC6910268E657FF70BA7EC289974494E76938DDC
- path_regex: .*.yaml
encrypted_regex: ^(data|stringData|.*key|.*crt|.*[Ss]ecret.*|.*[Tt]oken.*)$
pgp: DC6910268E657FF70BA7EC289974494E76938DDC
- path_regex: .*.env$
input_type: dotenv
pgp: DC6910268E657FF70BA7EC289974494E76938DDC