{"id":13823601,"url":"https://github.com/aerth/secenv","last_synced_at":"2025-07-15T15:32:54.418Z","repository":{"id":95083242,"uuid":"54456366","full_name":"aerth/secenv","owner":"aerth","description":"Store non-plaintext environmental variables. :warning:","archived":false,"fork":false,"pushed_at":"2016-05-11T00:45:00.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-09T11:10:00.189Z","etag":null,"topics":[],"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/aerth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2016-03-22T08:03:53.000Z","updated_at":"2016-05-11T00:46:09.000Z","dependencies_parsed_at":"2023-04-03T23:02:14.579Z","dependency_job_id":null,"html_url":"https://github.com/aerth/secenv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aerth/secenv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerth%2Fsecenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerth%2Fsecenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerth%2Fsecenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerth%2Fsecenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aerth","download_url":"https://codeload.github.com/aerth/secenv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerth%2Fsecenv/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264323846,"owners_count":23590751,"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":[],"created_at":"2024-08-04T09:00:38.008Z","updated_at":"2025-07-08T18:30:36.368Z","avatar_url":"https://github.com/aerth.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Secure Environmental Variable Storage\n\nUses the [seconf](https://github.com/aerth/seconf) library.\n\nStores environmental variables in a nacl/secretbox (XSalsa20 and Poly1305) for later.\n\nNote: While running your app using secenv yourapp.sh, the variables are going to be unencrypted (plaintext) somewhere in /proc/ directory. Just like typing `KEY=123 yourapp.sh` \n\nThis would be possible to view if one is owner of the machine, while it is running. \n\nIf you encounter any issues, report them on github.com/aerth/secenv/issues/new\n\nPull requests are welcome.\n\n## Works with:\n\nAWS Keys, Mandrill Keys, Sendgrid Keys, Heroku Keys, and on and on...\n\n## Usage\n\nDelete config file\n\n```\nsecenv -d\n```\nCreate a config file\n\nHere you will be prompted four times. Here is an example configuration that will have a (temporarily) noticable effect on your terminal session.\n\n```\nsecenv\n```\n\nTest it out (output to stdout)\n\n```\nsecenv env\nsecenv 'echo $TEST $TEST2'\n```\n\nRun something with the variables\n\n```\nsecenv '\n```\n\n\nExample Session:\n\n```\n\nbash-4.3$ ./secenv\nWelcome to secenv. No config file found at ~/.secenv, would you like to create one?\nyes\nEnter the first environmental NAME: test1\nEnter the first environmental VALUE: test1works\nEnter the second environmental NAME: test2\nEnter the second environmental VALUE: test2works\nCreate a password to encrypt config file:\nPress ENTER for no password.\nConfig file saved at /home/aerth/.secenv \nTotal size is 82 bytes.\n\nbash-4.3$ ./secenv 'echo $test1 $test2'\ntest1works test2works\n \n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faerth%2Fsecenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faerth%2Fsecenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faerth%2Fsecenv/lists"}