{"id":15468564,"url":"https://github.com/winebarrel/sev","last_synced_at":"2025-04-22T11:30:13.471Z","repository":{"id":246861457,"uuid":"823983122","full_name":"winebarrel/sev","owner":"winebarrel","description":"A tool that retrieves AWS Secrets Manager secret values, sets them to environment variables, and executes commands.","archived":false,"fork":false,"pushed_at":"2025-04-21T03:13:18.000Z","size":180,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-21T04:34:57.157Z","etag":null,"topics":["aws","golang","secretsmanager"],"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/winebarrel.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-07-04T06:19:53.000Z","updated_at":"2025-04-21T03:13:21.000Z","dependencies_parsed_at":"2025-04-21T04:36:51.334Z","dependency_job_id":null,"html_url":"https://github.com/winebarrel/sev","commit_stats":{"total_commits":48,"total_committers":2,"mean_commits":24.0,"dds":"0.27083333333333337","last_synced_commit":"2056c910bd3df2fe2bde8464216678b0132572b0"},"previous_names":["winebarrel/sev"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winebarrel%2Fsev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winebarrel%2Fsev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winebarrel%2Fsev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winebarrel%2Fsev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/winebarrel","download_url":"https://codeload.github.com/winebarrel/sev/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250231749,"owners_count":21396503,"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","golang","secretsmanager"],"created_at":"2024-10-02T01:41:37.678Z","updated_at":"2025-04-22T11:30:13.451Z","avatar_url":"https://github.com/winebarrel.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sev\n\n[![CI](https://github.com/winebarrel/sev/actions/workflows/ci.yml/badge.svg)](https://github.com/winebarrel/sev/actions/workflows/ci.yml)\n\nA tool that retrieves AWS Secrets Manager / Parameter Store values, sets them to environment variables, and executes commands.\n\n## Usage\n\n```\nUsage: sev --config-glob=\"~/.sev.toml\" \u003cprofile\u003e \u003ccommand\u003e ... [flags]\n\nArguments:\n  \u003cprofile\u003e        Profile name.\n  \u003ccommand\u003e ...    Command and arguments.\n\nFlags:\n  -h, --help                         Show help.\n      --config-glob=\"~/.sev.toml\"    Config file path glob pattern ($SEV_CONFIG).\n      --default-profile=STRING       Fallback profile name ($SEV_DEFAULT_PROFILE).\n      --[no-]override-aws-profile    Use AWS_PROFILE in sev config (enabled by default).\n      --version\n```\n\n## Example\n\n```sh\n$ aws secretsmanager get-secret-value --secret-id foo/bar\n{\n  ...\n  \"SecretString\": \"BAZ\",\n  ...\n\n$ aws secretsmanager get-secret-value --secret-id foo/zoo # JSON secret\n{\n  ...\n  \"SecretString\": \"{\\\"TOKEN\\\":\\\"AAA\\\",\\\"SECRET\\\":\\\"BBB\\\"}\",\n  ...\n```\n\n```sh\n$ cat ~/.sev.toml\n[default]\nAWS_PROFILE = \"prof1\" # By default, the AWS_PROFILE in the configuration file is used.\nFOO = \"secretsmanager://foo/bar\"\nZOO = \"secretsmanager://foo/zoo:TOKEN\"\nBAZ = \"BAZBAZBAZ\"\n\n[another]\nHOGE = \"secretsmanager://foo/zoo:SECRET\"\nFOGA = \"secretsmanager://foo/bar\"\nPIYO = \"PIYOPIYOPIYO\"\n```\n\n```sh\n# Run `env` command with extra environment variables\n$ sev default -- env\nFOO=BAZ\nZOO=AAA\nBAZ=BAZBAZBAZ\n\n$ sev another -- env\nHOGE=BBB\nFUGA=BAZ\nPIYO=PIYOPIYOPIYO\n```\n\n## Get values from Parameter Store\n\n```toml\n[default]\nAWS_PROFILE = \"prof1\"\nFOO = \"parameterstore:///foo/bar\"\nZOO = \"parameterstore:///foo/zoo\"\nBAZ = \"BAZBAZBAZ\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinebarrel%2Fsev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwinebarrel%2Fsev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinebarrel%2Fsev/lists"}