Loading .bashrc.d/github.j2 0 → 100644 +4 −0 Original line number Diff line number Diff line # vim: ft=bash export GITHUB_TOKEN='{{ run(["ph", "show", "--field", "CLI2023 token", "Web Sites/GitHub"])["stdout"] }}' export GITHUB_OAUTH_TOKEN="$GITHUB_TOKEN" .bashrc.d/private.j2 +0 −2 Original line number Diff line number Diff line Loading @@ -2,8 +2,6 @@ export GITLAB_TOKEN='{{ run(["ph", "show", "--field", "Password", "shore.co.il/GitLab token"])["stdout"] }}' export GITLAB_PRIVATE_TOKEN="$GITLAB_TOKEN" export GITLAB_REGISTRATION_TOKEN='{{ run(["ph", "show", "--field", "Password", "shore.co.il/GitLab runner registration token"])["stdout"] }}' export GITHUB_TOKEN='{{ run(["ph", "show", "--field", "CLI2023 token", "Web Sites/GitHub"])["stdout"] }}' export GITHUB_OAUTH_TOKEN="$GITHUB_TOKEN" {% set nc_password = run(["ph", "show", "--field", "Password", "shore.co.il/LDAP"])["stdout"] -%} export RCLONE_CONFIG_NEXTCLOUD_PASS='{{ run(["rclone", "obscure", nc_password])["stdout"]|trim }}' export RCLONE_CONFIG_LIBRARY_PASS="$RCLONE_CONFIG_NEXTCLOUD_PASS" Loading
.bashrc.d/github.j2 0 → 100644 +4 −0 Original line number Diff line number Diff line # vim: ft=bash export GITHUB_TOKEN='{{ run(["ph", "show", "--field", "CLI2023 token", "Web Sites/GitHub"])["stdout"] }}' export GITHUB_OAUTH_TOKEN="$GITHUB_TOKEN"
.bashrc.d/private.j2 +0 −2 Original line number Diff line number Diff line Loading @@ -2,8 +2,6 @@ export GITLAB_TOKEN='{{ run(["ph", "show", "--field", "Password", "shore.co.il/GitLab token"])["stdout"] }}' export GITLAB_PRIVATE_TOKEN="$GITLAB_TOKEN" export GITLAB_REGISTRATION_TOKEN='{{ run(["ph", "show", "--field", "Password", "shore.co.il/GitLab runner registration token"])["stdout"] }}' export GITHUB_TOKEN='{{ run(["ph", "show", "--field", "CLI2023 token", "Web Sites/GitHub"])["stdout"] }}' export GITHUB_OAUTH_TOKEN="$GITHUB_TOKEN" {% set nc_password = run(["ph", "show", "--field", "Password", "shore.co.il/LDAP"])["stdout"] -%} export RCLONE_CONFIG_NEXTCLOUD_PASS='{{ run(["rclone", "obscure", nc_password])["stdout"]|trim }}' export RCLONE_CONFIG_LIBRARY_PASS="$RCLONE_CONFIG_NEXTCLOUD_PASS"