{"id":15437215,"url":"https://github.com/victorb/shell-passwords","last_synced_at":"2026-06-29T10:31:28.865Z","repository":{"id":148376983,"uuid":"152429697","full_name":"victorb/shell-passwords","owner":"victorb","description":"Utility for avoiding having password/tokens ending up in your output and shell history","archived":false,"fork":false,"pushed_at":"2018-10-10T13:39:58.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-22T04:14:39.023Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/victorb.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-10T13:38:46.000Z","updated_at":"2018-12-19T20:31:42.000Z","dependencies_parsed_at":"2023-05-19T22:30:29.173Z","dependency_job_id":null,"html_url":"https://github.com/victorb/shell-passwords","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/victorb/shell-passwords","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorb%2Fshell-passwords","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorb%2Fshell-passwords/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorb%2Fshell-passwords/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorb%2Fshell-passwords/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/victorb","download_url":"https://codeload.github.com/victorb/shell-passwords/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorb%2Fshell-passwords/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34923763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T18:55:49.457Z","updated_at":"2026-06-29T10:31:28.831Z","avatar_url":"https://github.com/victorb.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shell-Passwords (sp)\n\u003e Utility for avoiding having password/tokens ending up in your output and shell history\n\n## Purpose\n\nPeople commonly have various of tokens and passwords locally stored in their\nshell history and sometimes in log outputs. This utility gives you a way to\navoid that by combining 1Password's password store with a simply CLI tool for\ngetting passwords and filtering output.\n\n## Requirements\n\nInstall [1Password's CLI client `op`](https://support.1password.com/command-line/) first.\n\n## Usage\n\n### Login to 1Password\n\n`eval $(op signin \u003csubdomain\u003e)`\n\n\n### Get a password\n\n```console\n$ sp g GitHub\nThisIsMyVerySecretPassword\n```\n\n### Filter out password from output\n\n```console\n$ sp g GitHub | sp f GitHub\n**************************\n\n$ export TOKEN=$(sp g GitHub)\n$ echo \"Hello, this is my token: $TOKEN. It's nice eh?\" | sp f GitHub\nHello, this is my token: **************************. It's nice eh?\n```\n\n## License\n\nMIT 2018 - Victor Bjelkholm\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorb%2Fshell-passwords","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvictorb%2Fshell-passwords","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorb%2Fshell-passwords/lists"}