Skip to content
Snippets Groups Projects
Select Git revision
  • 13510c871e4112be2bd59c9b70e60eddc642443a
  • main default
  • v0.1.2
  • v0.1.1
  • v0.1.0
5 results

setup.cfg

Blame
  • .bashrc.private.j2 717 B
    # vim: ft=bash
    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", "CLI 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"