This commit is contained in:
2026-05-19 11:47:26 +02:00
parent acb187613e
commit 12e08a1c8d
+4 -3
View File
@@ -150,11 +150,12 @@
template {
destination = "/home/jd/.ssh/id_ed25519-cert.pub"
perms = "0644"
contents = <<EOH
{{ with secret "ssh/sign/admin" (printf "public_key=%s" (trimSpace (file "/home/jd/.ssh/id_ed25519.pub"))) "valid_principals=jd" }}
{{ .Data.signed_key }}
{{ end }}
{{ '{{' }} with secret "ssh/sign/admin" (printf "public_key=%s" (trimSpace (file "/home/jd/.ssh/id_ed25519.pub"))) "valid_principals=jd" {{ '}}' }}
{{ '{{' }} .Data.signed_key {{ '}}' }}
{{ '{{' }} end {{ '}}' }}
EOH
}
owner: root