{"id":24993098,"url":"https://github.com/jarmo/secrets-cli","last_synced_at":"2026-03-09T19:01:42.880Z","repository":{"id":64305298,"uuid":"107775085","full_name":"jarmo/secrets-cli","owner":"jarmo","description":"Not Yet Another Password Manager CLI interface written in Go using libsodium","archived":false,"fork":false,"pushed_at":"2023-04-08T15:31:37.000Z","size":4836,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T02:13:47.993Z","etag":null,"topics":["encryption","golang","libsodium","password-manager","password-store","privacy","secrets","security-tools"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jarmo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-10-21T11:37:21.000Z","updated_at":"2022-05-05T06:48:02.000Z","dependencies_parsed_at":"2024-06-19T16:24:40.355Z","dependency_job_id":"c4f39091-a9f9-43e0-93a6-3e775c430f59","html_url":"https://github.com/jarmo/secrets-cli","commit_stats":{"total_commits":152,"total_committers":2,"mean_commits":76.0,"dds":0.06578947368421051,"last_synced_commit":"b2955d6c02cf5e10ce271f76483ddd79f3a3d8f5"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarmo%2Fsecrets-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarmo%2Fsecrets-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarmo%2Fsecrets-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarmo%2Fsecrets-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jarmo","download_url":"https://codeload.github.com/jarmo/secrets-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248505925,"owners_count":21115354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["encryption","golang","libsodium","password-manager","password-store","privacy","secrets","security-tools"],"created_at":"2025-02-04T13:59:26.098Z","updated_at":"2026-03-09T19:01:37.844Z","avatar_url":"https://github.com/jarmo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# secrets-cli\n\n**Secure** and simple passwords manager written in [Go](https://golang.org/). It aims to be *NYAPM* (Not Yet Another Password Manager), but tries to be different from others by following UNIX philosophy of doing only one thing and doing it well.\n\nThis repository is for command-line client. There exists also a [self-hosted web solution](https://github.com/jarmo/secrets-web). Read more about [secrets](https://github.com/jarmo/secrets) in here.\n\n## Installation\n\nDownload latest binary from [releases](https://github.com/jarmo/secrets-cli/releases), extract it and add it to somewhere in your **PATH**. That's it.\n\n*Of course, you're free to compile your own version of binary to be 100% sure that it has not been tampered with, since this is an open-source project after all.*\n\n## Usage\n\nHere's an output from `secrets --help` command.\n\n```\n$ secrets COMMAND [OPTIONS]\n\nUsage:\n  secrets list [FILTER] [--alias=VAULT_ALIAS | --path=VAULT_PATH]\n  secrets add NAME [--alias=VAULT_ALIAS | --path=VAULT_PATH]\n  secrets edit ID [--alias=VAULT_ALIAS | --path=VAULT_PATH]\n  secrets delete ID [--alias=VAULT_ALIAS | --path=VAULT_PATH]\n  secrets change-password [--alias=VAULT_ALIAS | --path=VAULT_PATH]\n  secrets initialize --path=VAULT_PATH --alias=VAULT_ALIAS\n\nOptions:\n  --alias VAULT_ALIAS    Vault alias.\n  --path VAULT_PATH      Vault path.\n  -h --help              Show this screen.\n  -v --version           Show version.\n```\n\n### Initializing Vault\n\nVault needs to be initialized if there is going to be a default vault. Otherwise specifying `--path` or `--alias` with any command is supported. Initializing vault just stores location and alias to your vault into a configuration file (supporting [XDG Base Directory standard](https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html)):\n\n```\n$ secrets initialize --path /home/user/.secrets.json --alias main\nVault successfully configured at /home/user/.config/secrets/config.json and is ready to store your secrets!\n```\n\n### Adding a New Secret\n\nAdd your first secret:\n\n```\n$ secrets add \"my secret\"\nEnter vault password: [enter secure passphrase and remember it]\nEnter value for 'my secret':\nmy secret value\nAdded: \n[299ed462-b171-4d67-ba21-264b221d9913]\nmy secret\nmy secret value\n```\n\nBecause values can have multiple lines, you can enter whatever you want. Use ctrl+d on **macOS** and **Linux** or ctrl+z on **Windows** to complete entering multi-line values.\n\n### Listing All Secrets\n\n```\n$ secrets list\nEnter vault password: [your secure passphrase]\n\n[299ed462-b171-4d67-ba21-264b221d9913]\nmy secret\nmy secret value\n```\n\n### Listing Specific Secrets\n\n```\n$ secrets list \"secret\"\nEnter vault password: [your secure passphrase]\n\n[299ed462-b171-4d67-ba21-264b221d9913]\nmy secret\nmy secret value\n```\n\n### Editing a Secret\n\n```\n$ secrets edit 299ed462-b171-4d67-ba21-264b221d9913\nEnter vault password: [your secure passphrase]\nEnter new name: different secret name\nEnter new value:\ndifferent secret value\nyet another secret value line\nEdited: \n[299ed462-b171-4d67-ba21-264b221d9913]\ndifferent secret name\ndifferent secret value\nyet another secret value line\n```\n\n### Deleting a Secret\n\n```\n$ secrets delete 299ed462-b171-4d67-ba21-264b221d9913\nEnter vault password: \nDeleted: \n[299ed462-b171-4d67-ba21-264b221d9913]\ndifferent secret name\ndifferent secret value\nyet another secret value line\n```\n\n## Using multiple vaults\n\nJust append `--alias` after any command to operate against selected vault.\nWhen `--alias` is not specified a first vault existing in configuration file will be used.\n\n## But how do I sync vault between different devices?!\n\nOne way to sync would be to use any already existing syncing platforms like Dropbox, Microsoft OneDrive or Google Drive.\nSince you can specify vault storage location then it is up to you how (or if even) you sync.\n\n## Development\n\nRetrieve dependencies, build and install binaries to `$GOPATH/bin/`\n\n```\ngit clone https://github.com/jarmo/secrets-cli.git\ncd secrets-cli\nmake\nmake install\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjarmo%2Fsecrets-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjarmo%2Fsecrets-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjarmo%2Fsecrets-cli/lists"}