aboutsummaryrefslogtreecommitdiffstats
path: root/modules/security/gopass/creation-templates/3-ssh-key.yml
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar@gmail.com>2026-09-10 19:43:49 +0530
committerArpit Chakladar <arpitchakladar@gmail.com>2026-09-10 19:43:49 +0530
commitbdee6f183cd38ff7539618336c5448a10f432aae (patch)
treed061db5411de504d2d5570a4958a1352516a1b3b /modules/security/gopass/creation-templates/3-ssh-key.yml
parent96ec0f89101ea414e764565e022b9bc83a96071c (diff)
downloadhome-manager-config-bdee6f183cd38ff7539618336c5448a10f432aae.tar.gz
home-manager-config-bdee6f183cd38ff7539618336c5448a10f432aae.zip
feat(security/gopass): added templates for gopass creation wizard
Diffstat (limited to 'modules/security/gopass/creation-templates/3-ssh-key.yml')
-rw-r--r--modules/security/gopass/creation-templates/3-ssh-key.yml36
1 files changed, 36 insertions, 0 deletions
diff --git a/modules/security/gopass/creation-templates/3-ssh-key.yml b/modules/security/gopass/creation-templates/3-ssh-key.yml
new file mode 100644
index 0000000..136a22b
--- /dev/null
+++ b/modules/security/gopass/creation-templates/3-ssh-key.yml
@@ -0,0 +1,36 @@
+---
+priority: 3
+name: "SSH login"
+prefix: "ssh"
+name_from:
+ - "host"
+ - "username"
+welcome: "🔐 Creating SSH login"
+attributes:
+ - name: "host"
+ type: "hostname"
+ prompt: "Host machine name (hostname, IP, or alias)"
+ min: 1
+ max: 255
+ - name: "username"
+ type: "string"
+ prompt: "Username"
+ min: 1
+ - name: "password"
+ type: "password"
+ prompt: "Password (leave blank if using key-only auth)"
+ - name: "port"
+ type: "string"
+ prompt: "SSH port (optional, default 22)"
+ - name: "private_key"
+ type: "password"
+ prompt: "Private key (paste full contents, e.g. -----BEGIN OPENSSH PRIVATE KEY-----...)"
+ - name: "public_key"
+ type: "string"
+ prompt: "Public key (paste full contents, e.g. ssh-ed25519 AAAA...)"
+ - name: "key_passphrase"
+ type: "password"
+ prompt: "Private key passphrase (optional)"
+ - name: "comment"
+ type: "string"
+ prompt: "Notes (optional)"