{"id":18593875,"url":"https://github.com/janstuemmel/env-vault","last_synced_at":"2025-05-16T11:08:43.205Z","repository":{"id":59043477,"uuid":"527744308","full_name":"janstuemmel/env-vault","owner":"janstuemmel","description":"A simple tool to store env vars in keyring and execute programs with them injected.","archived":false,"fork":false,"pushed_at":"2022-08-22T22:10:13.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-17T22:32:41.331Z","etag":null,"topics":["aws-vault","dotenv","env","env-vars","environment","environment-variables","go","golang","vault"],"latest_commit_sha":null,"homepage":"","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/janstuemmel.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}},"created_at":"2022-08-22T21:57:07.000Z","updated_at":"2023-03-07T06:39:50.000Z","dependencies_parsed_at":"2022-09-11T04:41:49.942Z","dependency_job_id":null,"html_url":"https://github.com/janstuemmel/env-vault","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janstuemmel%2Fenv-vault","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janstuemmel%2Fenv-vault/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janstuemmel%2Fenv-vault/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janstuemmel%2Fenv-vault/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/janstuemmel","download_url":"https://codeload.github.com/janstuemmel/env-vault/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254518396,"owners_count":22084375,"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":["aws-vault","dotenv","env","env-vars","environment","environment-variables","go","golang","vault"],"created_at":"2024-11-07T01:13:51.075Z","updated_at":"2025-05-16T11:08:38.195Z","avatar_url":"https://github.com/janstuemmel.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# env-vault\n\nA simple tool to store env vars in keyring and execute programs with them injected.\n\n\u003e This tool is in early development, the api is likely to change\n\nThere are some of solutions to store secrets and inject them as env var during runtime like [vault](https://www.vaultproject.io/). Tho i like the idea of storing them into a single source of truth, i do not like managing a server instance for my private projects. I normally store API keys etc. in keepass and copy them into my terminal session. This tool makes it easier for me to manage my env var secrets. It is very similar to [99designs/aws-vault](https://github.com/99designs/aws-vault).\n\n## Install\n\nI will not provide binaries in the reposiories release section. Bare in mind, this tool manages your secrets, you will not want precompiled binaries to see them. Compile it yourself or use tools like [gobinaries.com](https://gobinaries.com/) which will download the source code and compile it on the fly (if you trust them).  \n\nIt's recommended to use `go install`. This will download and compile the program: \n\n```sh\ngo install github.com/janstuemmel/env-vault\n```\n\nIf you trust services like gobinaries, type: \n\n```sh\ncurl -sf https://gobinaries.com/janstuemmel/env-vault | sh\n```\n\n## Usage\n\n### Create\n\nCreates a new environment\n\n```\nenv-vault create my-project\n```\n\n### Add\n\nAdds a var to environment\n\n```\nenv-vault add my-project MY_SECRET=s3cret\n```\n\n### Remove Env\n\nRemoves a environment\n\n```\nenv-vault remove my-project\n```\n\n### Remove var\n\nRemoves a environment\n\n```\nenv-vault remove my-project MY_SECRET\n```\n\n### List Envs\n\nList all environments\n\n```\nenv-vault list\n```\n\n### List Vars\n\nList all vars in environment\n\n```\nenv-vault list my-project\n```\n\n### Exec\n\nExecute command with env injected\n\n```\nenv-vault exec my-project env\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanstuemmel%2Fenv-vault","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjanstuemmel%2Fenv-vault","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanstuemmel%2Fenv-vault/lists"}