{"id":15654384,"url":"https://github.com/im2nguyen/envo","last_synced_at":"2025-10-29T12:15:27.671Z","repository":{"id":47360543,"uuid":"402320693","full_name":"im2nguyen/envo","owner":"im2nguyen","description":"A CLI tool that masks and obfuscate your environment variables for demos","archived":false,"fork":false,"pushed_at":"2022-08-29T13:26:54.000Z","size":2637,"stargazers_count":27,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-30T23:13:51.402Z","etag":null,"topics":["cli","demo","environment-variables","golang"],"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/im2nguyen.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}},"created_at":"2021-09-02T06:53:34.000Z","updated_at":"2024-10-29T19:44:28.000Z","dependencies_parsed_at":"2022-08-17T20:50:37.993Z","dependency_job_id":null,"html_url":"https://github.com/im2nguyen/envo","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/im2nguyen%2Fenvo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/im2nguyen%2Fenvo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/im2nguyen%2Fenvo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/im2nguyen%2Fenvo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/im2nguyen","download_url":"https://codeload.github.com/im2nguyen/envo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251795416,"owners_count":21645023,"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":["cli","demo","environment-variables","golang"],"created_at":"2024-10-03T12:51:24.528Z","updated_at":"2025-10-29T12:15:26.424Z","avatar_url":"https://github.com/im2nguyen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## envo - Mask your environment variables\n\n`envo` (environment variable obscuration) is a CLI tool that masks/obscurates your environment variables.\n\n### Use case\n\nYou're in the middle of a demo and want to show the environment variables you \nset for the demo, without _showing_ your actual environment variables.\n\nFor example, you're running a Terraform demo and you want to show that you set \nyour AWS credentials as environment variables.\n\nTypically, you would run the `env | grep AWS`, but now your AWS credentials are \nexposed to everyone. You can get around by creating temporary AWS credentials, \nthen revoking it, but this is also a hassle.\n\nWith `envo`, you can mask these values.\n\n```\n$ envo | grep AWS\nAWS_SESSION_TOKEN=IQoJb3JpZ2luX2VjEMf//////////wEaCXVzLWVhc3QtMSJIMEYCIQCmfFtM4rtTmuk5yEBsY5rmy1hmRKp7yH3YRCyum7ACDQIhAIjrHzOpv+byWtSCfjpPoRaajzUS+yn05hDe8BY588RbKu4ECBAQARoMNTYxNjU2OTgwMTU5IgyezRiwDbMoMtHp5yYqywRau7B5fQ2COWvwrB0cQgS9Exy60Gg18sdxiSJwIFSv2lwcmVwV7XAXwUWm58MXkeQh8QDCT+qlk6lWbvOt0LI4bo4GZeqlAKkn95dMefGatI+X3JtcG1gj/mOLAlBtRMReih31sZBxxakbrvC7VcQC8vt+mQ79X+0J6Bftnp7dp4/YjkTl8OXegbQ9b/TJpypw5C9tPO3QCzbH0...\nAWS_SESSION_EXPIRATION=-621...\nAWS_SECRET_ACCESS_KEY=hOFE6NnaPqdAa...\nAWS_ACCESS_KEY_ID=ASIAYF...\n```\n\nYou can also create an alias for `env` in order to leverage `envo` for certain env-var patterns:\n\n```\nalias env=\"bash -c \\\". \u003c(envo | egrep '(PRIVATE_KEY|TOKEN|SECRET)') \u0026\u0026 env\\\"\"\n```\n\n### Installation\n\nTo install on MacOS, run the following commands.\n\n```\n$ brew tap im2nguyen/envo\n$ brew install envo\n```\n\n### Basic usage\n\n`envo` has two main flags, `-maskMethod` (`-m`) and `-truncLength` (`-t`). \nIf `-maskMethod` is not specified, `envo` will truncate the environment variable \nvalues.\n\n- Set no flags to truncate environment variable value, defaults to a third of \nvalue length.\n\n    ```\n    $ envo | grep USER\n    USER=d...\n    ```\n\n- Set `-maskMethod` or `-m` to `random` to replace the environment variable value with \nrandom characters.\n\n    ```\n    $ envo -m=random | grep USER\n    USER=me8\n    ```\n\n- Set `-maskMethod` or `-m` to a value that is neither `trunc` nor `random` to replace \nthe environment variable value with the provided value.\n\n    ```\n    $ envo -m=* | grep USER\n    USER=***\n    ```\n\n    ```\n    $ envo -m=0 | grep USER\n    USER=000\n    ```\n\n- Set `-truncLength` or `-t` to a length to truncate the environment variable value. If the\nspecified length is greater than or equal to the length of the value, `envo` \nwill truncate the value to a third of its original length.\n\n    ```\n    $ envo -t=1 | grep USER\n    USER=d...\n    ```\n\n    ```\n    $ envo -m=3 | grep USER\n    USER=d...\n    ```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fim2nguyen%2Fenvo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fim2nguyen%2Fenvo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fim2nguyen%2Fenvo/lists"}