diff --git a/modules/ipa/client.nix b/modules/ipa/client.nix index bf56ae3..db83042 100644 --- a/modules/ipa/client.nix +++ b/modules/ipa/client.nix @@ -20,9 +20,11 @@ # ipa host-add --ip-address= # ipa-getkeytab -s -p host/ -k /tmp/.keytab # -# 3. sops-encrypt the keytab as a binary secret from your admin machine: -# sops -e --input-type binary /tmp/.keytab \ -# > secrets/.keytab +# 3. sops-encrypt the keytab as a binary secret from your admin machine +# (must run from repo root; sops matches creation rules against the file +# path, so copy to secrets/ first and encrypt in-place): +# cp /tmp/.keytab secrets/.keytab +# sops -e --input-type binary -i secrets/.keytab # Add secrets/.keytab to .sops.yaml with the host's age key as a # recipient (see the nix-cache.keytab entry for the pattern), then run: # scripts/secrets/sync-host-keys.sh # if not done yet