aboutsummaryrefslogtreecommitdiff
path: root/scripts/p7s/ssh.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/p7s/ssh.py')
-rw-r--r--scripts/p7s/ssh.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/p7s/ssh.py b/scripts/p7s/ssh.py
new file mode 100644
index 00000000..f53cad33
--- /dev/null
+++ b/scripts/p7s/ssh.py
@@ -0,0 +1,8 @@
+import pathlib
+
+from p7s import bitwarden
+
+
+def setup_ssh():
+ with bitwarden.default() as b:
+ b.get_attachment("06ba85e9172775f8f320", "e1d1a559-feaa-4834-b192-a688708bdba3", pathlib.Path.home() / ".ssh" / "id_rsa")