{"id":17925944,"url":"https://github.com/shoenig/envy","last_synced_at":"2025-03-24T03:31:16.046Z","repository":{"id":40573787,"uuid":"254800495","full_name":"shoenig/envy","owner":"shoenig","description":"Use envy to securely manage environment variables with your OS keychain","archived":false,"fork":false,"pushed_at":"2024-11-01T03:16:09.000Z","size":181,"stargazers_count":38,"open_issues_count":7,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-19T01:31:34.930Z","etag":null,"topics":["environment","environment-variables","envy","hacktoberfest","passwords","secrets","secrets-management","secrets-manager","variables"],"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/shoenig.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}},"created_at":"2020-04-11T05:35:36.000Z","updated_at":"2025-01-13T03:03:32.000Z","dependencies_parsed_at":"2023-02-17T05:31:07.863Z","dependency_job_id":"948b119e-debc-4c09-9633-b99a31c69388","html_url":"https://github.com/shoenig/envy","commit_stats":{"total_commits":61,"total_committers":5,"mean_commits":12.2,"dds":0.5573770491803278,"last_synced_commit":"6b70e5af2ca45eae26c8108a0ff7cf1e0943b94c"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shoenig%2Fenvy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shoenig%2Fenvy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shoenig%2Fenvy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shoenig%2Fenvy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shoenig","download_url":"https://codeload.github.com/shoenig/envy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245204544,"owners_count":20577370,"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":["environment","environment-variables","envy","hacktoberfest","passwords","secrets","secrets-management","secrets-manager","variables"],"created_at":"2024-10-28T20:58:28.931Z","updated_at":"2025-03-24T03:31:15.703Z","avatar_url":"https://github.com/shoenig.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"envy\n====\n\nUse `envy` to manage sensitive environment variables when running commands.\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Run CI Tests](https://github.com/shoenig/envy/actions/workflows/ci.yaml/badge.svg)](https://github.com/shoenig/envy/actions/workflows/ci.yaml)\n\n# Project Overview\n\n`github.com/shoenig/envy` provides a CLI utility for running commands with secret\nenvironment variables like `GITHUB_TOKEN`, etc.\n\n`envy` builds on ideas from [envchain](https://github.com/sorah/envchain) and [schain](https://github.com/evanphx/schain).\nIt makes use of the [go-keyring](https://github.com/zalando/go-keyring) library for multi-platform keyring management.\nEncryption is based on Go's built-in `crypto/aes` library.\nPersistent storage is managed through [boltdb](https://github.com/etcd-io/bbolt).\n\nSupports **Linux**, **macOS**, and **Windows**\n\n# Getting Started\n\n#### Install\n\nThe `envy` command is available to download from the [Releases](https://github.com/shoenig/envy/releases) page.\n\nMultiple operating systems and architectures are supported, including\n\n- Linux\n- macOS\n- Windows\n\n#### Install from Go module\n\nThe `envy` command can be installed from source by running\n\n```bash\n$ go install github.com/shoenig/envy@latest\n```\n\n# Example Usages\n\n#### usage overview\n\n```bash\nNAME:\n  envy - wrangle environment varibles\n\nUSAGE:\n  envy  [global options] [command [command options]] [arguments...]\n\nVERSION:\n  v0\n\nDESCRIPTION:\n  The envy is a command line tool for managing profiles of\n  environment variables.  Values are stored securely using\n  encryption with keys protected by your desktop keychain.\n\nCOMMANDS:\n  list  - list environment profiles\n  set   - set environment variable(s) in a profile\n  purge - purge an environment profile\n  show  - show values in an environment variable profile\n  exec  - run a command using environment variables from profile\n\nGLOBALS:\n--help/-h   boolean - print help message\n```\n\n#### create/update a profile\n\n```bash\n$ envy set example FOO=1 BAR=2 BAZ=3\n```\n\n#### update existing variable in a profile\n\n```bash\n$ envy set example FOO=4\n```\n\n#### remove variable from profile\n\n```bash\n$ envy set example -FOO\n```\n\n#### execute command\n\n```bash\n$ envy exec example env\nBAR=2\nBAZ=3\n... \u003cmany more from user\u003e ...\n```\n\n#### execute command excluding external environment\n\n```bash\n$ envy exec --insulate example env\nBAR=2\nBAZ=3\n```\n\nNote that `-i` is short for `--insulate`.\n\n#### execute command including extra variables\n\n```bash\n$ envy exec --insulate example EXTRA=value env\nEXTRA=value\nBAR=2\nBAZ-3\n```\n\n#### list available profiles\n\n```bash\n$ envy list\nconsul/connect-acls:no_tls\nexample\nnomad/e2e\ntest\n```\n\n#### show variables in a profile\n\n```bash\n$ envy show test\nAWS_ACCESS_KEY_ID\nAWS_SECRET_ACCESS_KEY\n```\n\n#### show profile variables w/ values\n\n```bash\n$ envy show --unveil test\nAWS_ACCESS_KEY_ID=aaabbbccc\nAWS_SECRET_ACCESS_KEY=233kjsdf309jfsd\n```\n\nNote that `-u` is short for `--unveil`.\n\n#### delete profile\n\n```bash\n$ envy purge test\npurged profile \"test\"\n```\n\n# Contributing\n\nThe `github.com/shoenig/envy` module is always improving with new features\nand error corrections. For contributing bug fixes and new features please file\nan issue.\n\n# LICENSE\n\nThe `github.com/shoenig/envy` module is open source under the [MIT](LICENSE) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshoenig%2Fenvy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshoenig%2Fenvy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshoenig%2Fenvy/lists"}