From bdee6f183cd38ff7539618336c5448a10f432aae Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Thu, 10 Sep 2026 19:43:49 +0530 Subject: feat(security/gopass): added templates for gopass creation wizard --- .../gopass/creation-templates/3-ssh-key.yml | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 modules/security/gopass/creation-templates/3-ssh-key.yml (limited to 'modules/security/gopass/creation-templates/3-ssh-key.yml') 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)" -- cgit v1.2.3