{"id":18821144,"url":"https://github.com/compwright/aws-env","last_synced_at":"2026-05-05T22:41:30.778Z","repository":{"id":183533659,"uuid":"670323409","full_name":"compwright/aws-env","owner":"compwright","description":"Load environment variables securely from AWS SSM","archived":false,"fork":false,"pushed_at":"2024-01-06T15:59:56.000Z","size":69,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T22:48:05.563Z","etag":null,"topics":["aws","composer","env","php"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/compwright/aws-env","language":"PHP","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/compwright.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}},"created_at":"2023-07-24T19:44:20.000Z","updated_at":"2023-07-26T19:55:35.000Z","dependencies_parsed_at":"2024-01-06T16:55:11.961Z","dependency_job_id":null,"html_url":"https://github.com/compwright/aws-env","commit_stats":null,"previous_names":["compwright/aws-env"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compwright%2Faws-env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compwright%2Faws-env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compwright%2Faws-env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compwright%2Faws-env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/compwright","download_url":"https://codeload.github.com/compwright/aws-env/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239758831,"owners_count":19692034,"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","composer","env","php"],"created_at":"2024-11-08T00:34:34.550Z","updated_at":"2026-01-17T20:30:19.518Z","avatar_url":"https://github.com/compwright.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-env\n\nCommand-line script to obtain service configuration environment and secrets securely from AWS SSM.\n\n## Configuration\n\nConfiguration can be provided via command line options or environment variables:\n\nOption       | Env. Variable  | Description\n-------------|----------------|---------------------------------------------------\n-p, --path   | AWS_ENV_PATH   | Path of secrets to load from SSM\n-f, --format | AWS_ENV_FORMAT | Output format, one of `dotenv`, `env`, or `export`\n\nThis script can find AWS credentials in the usual ways, including:\n\n1. If running on EC2, by assuming an IAM role (recommended)\n2. By reading the `~/.aws/config` and `~/.aws/credentials` files, with the optional `AWS_PROFILE` environment variable\n3. Explicitly with the `AWS_REGION`, `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` environment variables\n\n## Usage\n\n```\nUsage:\n  aws-env [options]\n\nOptions:\n  -p, --path=PATH       Parameter key path [default: \"/\"]\n  -f, --format=FORMAT   Output format: dotenv, env, export [default: \"env\"]\n  -h, --help            Display help for the given command. When no command is given display help for the bin/aws-env command\n  -q, --quiet           Do not output any message\n  -V, --version         Display this application version\n      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction  Do not ask any interactive question\n  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n```\n\nFor example, to start a shell with a new environment consisting only of the items pulled from AWS SSM + $PATH:\n\n    env -i -S\"$(bin/aws-env -p /my_app/development) PATH=$PATH\" \u0026\u0026 /bin/bash\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompwright%2Faws-env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcompwright%2Faws-env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompwright%2Faws-env/lists"}