aboutsummaryrefslogtreecommitdiff
path: root/scripts/p7s/ssh.py
blob: f53cad3341bb5496ab51f2be4e339e65b89f4b05 (plain)
1
2
3
4
5
6
7
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")