{"id":16145975,"url":"https://github.com/reegodev/confidante","last_synced_at":"2025-03-18T18:30:44.517Z","repository":{"id":149511660,"uuid":"486975046","full_name":"reegodev/confidante","owner":"reegodev","description":"🔐 Securely share your environment files through password managers","archived":false,"fork":false,"pushed_at":"2023-06-17T11:59:53.000Z","size":339,"stargazers_count":6,"open_issues_count":16,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-27T12:39:37.720Z","etag":null,"topics":["dotenv","environment-variables","secret-management","secret-sharing","secrets","secrets-management","share"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/reegodev.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}},"created_at":"2022-04-29T13:04:55.000Z","updated_at":"2025-01-21T03:16:03.000Z","dependencies_parsed_at":"2023-10-13T08:21:05.429Z","dependency_job_id":null,"html_url":"https://github.com/reegodev/confidante","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reegodev%2Fconfidante","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reegodev%2Fconfidante/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reegodev%2Fconfidante/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reegodev%2Fconfidante/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reegodev","download_url":"https://codeload.github.com/reegodev/confidante/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243944930,"owners_count":20372885,"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":["dotenv","environment-variables","secret-management","secret-sharing","secrets","secrets-management","share"],"created_at":"2024-10-10T00:18:28.511Z","updated_at":"2025-03-18T18:30:44.167Z","avatar_url":"https://github.com/reegodev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm](https://img.shields.io/npm/v/confidante)](https://www.npmjs.com/package/confidante)\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/reegodev/confidante/unit-tests.yml)](https://github.com/reegodev/confidante/actions)\n[![codecov](https://codecov.io/gh/reegodev/confidante/branch/main/graph/badge.svg?token=7SPPSMLVT4)](https://codecov.io/gh/reegodev/confidante)\n\n# 🔐 Confidante\nSecurely share your environment files through password managers.\n\nConfidante is a wrapper around your favourite passoword manager's CLI and uses secure notes to store your local environment files remotely.\u003cbr\u003e\nIf you work in a small team, you can use Confidante as a source of truth to easily share you local secrets with your colleagues.\n\n## Quick Start\n\n```bash\nnpx confidante --help\n```\n\nor if you need to update to the latest version\n\n```bash\nnpx confidante@latest --help\n```\n\n\n## Usage\n\n### Push an environment file to your password manager\n\n```bash\nnpx confidante push [FILEPATH] [ENTRYNAME] [-a \u003cadapter\u003e] [-v \u003cvault\u003e]\n```\n\n\u003e For all available arguments and flags type `npx confidante push --help`\n\n### Pull an environment file from your password manager\n\n```bash\nnpx confidante pull [FILEPATH] [ENTRYNAME] [-a \u003cadapter\u003e] [-v \u003cvault\u003e]\n```\n\n\u003e For all available arguments and flags type `npx confidante pull --help`\n\n## Adapters\n\nAdapters are used to create a standardized interface between Confidante and password managers.\u003cbr\u003e\nAvailable adapters:  \n\n- 1Password: To use this adapter, you need to install the [1Password CLI](https://1password.com/downloads/command-line/) and setup either [Manual login](https://developer.1password.com/docs/cli/sign-in-manually) or [Biometric unlock](https://developer.1password.com/docs/cli/about-biometric-unlock)\n\nAdapters on the roadmap:\n\n- LastPass\n- Bitwarden\n- Dashlane\n\nIf you wish to use Confidante with a password manager not mentioned in the list, feel free to open an issue!\n\n\n## Configuration\n\nYou can use a configuration file to omit command arguments.\u003cbr\u003e\nCreate a file named `.confidante.json` at the root of your project and add the following content:\n\n```json\n{\n  \"adapter\": \"\u003cadapter name\u003e\",\n  \"vault\": \"\u003cvault name\u003e\",\n  \"filePath\": \"\u003cfile path of your environment, eg: .env\u003e\",\n  \"entryName\": \"\u003cname of the entry in the password manager\u003e\"\n}\n```\n\n\u003e You can also automatically generate the file when running the pull command with the -s or --save flag.\n\nThen your commands will be as simple as\n  \n```bash\nnpx confidante push\nnpx confidante pull\n```\n\n## Examples\n\nPush a `.env` file to the password manager\n\n```bash\nnpx confidante push .env \"Local .env\" -a 1password -v \"My project\"\n````\n\nPush a Rails `application.yml` to the password manager\n\n```bash\nnpx confidante push config/application.yml \"Rails application.yml\" -a 1password -v \"My project\"\n```\n\n## License\n\n[MIT](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freegodev%2Fconfidante","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freegodev%2Fconfidante","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freegodev%2Fconfidante/lists"}