{"id":24080143,"url":"https://github.com/pindlebot/s3-whitelist","last_synced_at":"2026-06-12T12:31:08.999Z","repository":{"id":71254981,"uuid":"127431814","full_name":"pindlebot/s3-whitelist","owner":"pindlebot","description":null,"archived":false,"fork":false,"pushed_at":"2018-06-21T09:33:12.000Z","size":15,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-06T02:32:08.523Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pindlebot.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-03-30T13:33:47.000Z","updated_at":"2018-09-21T20:50:59.000Z","dependencies_parsed_at":"2023-03-27T22:17:04.666Z","dependency_job_id":null,"html_url":"https://github.com/pindlebot/s3-whitelist","commit_stats":null,"previous_names":["unshift/s3-whitelist"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pindlebot/s3-whitelist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pindlebot%2Fs3-whitelist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pindlebot%2Fs3-whitelist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pindlebot%2Fs3-whitelist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pindlebot%2Fs3-whitelist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pindlebot","download_url":"https://codeload.github.com/pindlebot/s3-whitelist/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pindlebot%2Fs3-whitelist/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34245217,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-01-09T22:56:08.504Z","updated_at":"2026-06-12T12:31:04.483Z","avatar_url":"https://github.com/pindlebot.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## s3-whitelist\n\ns3-whitelist is a super simple cli tool for AWS S3. It performs one function: temporarily whitelist the public ip address on your current machine to allow access to an s3 bucket for local development.\n\n## Installation\n\n```bash\nnpm install -g s3-whitelist\n```\n\n## Usage\n\n\nWhitelist your IP address:\n\n```bash\nwhitelist add --bucket myBucket --region us-east-1\n```\n\nRemove a whitelist added by `s3-whitelist`:\n\n```bash\nwhitelist remove --bucket myBucket --region us-east-1\n```\n\n### Arguments\n\n**-- bucket**\nYour AWS S3 bucket name (required).\n\n**-- region**\nAWS region (defaults to us-east-1).\n\nIf your credentials are not set locally in `~/.aws/credentials` You can also explicitly provide credentials as arguments:\n - **accessKeyId** (optional)\n - **secretAccessKey** (optional)\n\n### Commands\n\n`whitelist add`\n\nEither adds a new AWS S3 bucket policy statement or updates an existing one generated by `s3-whitelist`. The policy statement whitelists the public IP address on your current machine.\n\n`whitelist remove`\n\nRemoves the AWS S3 bucket policy statement generated by `s3-whitelist`.\n\n\n## Notes\n\n- At the moment s3-whitelist requires node v9.x.\n- The S3 bucket policy statement generated by `s3-whitelist` looks like:\n\n```js\n{\n  \"Sid\": \"s3-whitelist\",\n  \"Effect\": \"Allow\",\n  \"Principal\": \"*\",\n  \"Action\": \"s3:*\",\n  \"Resource\": \"arn:aws:s3:::myBucket/*\",\n  \"Condition\": {\n    \"IpAddress\": {\n      \"aws:SourceIp\": \"161.214.108.93\"\n    }\n  }\n}\n```\n\n- run a cron job:\n\n```bash\nnode /usr/local/lib/node_modules/s3-whitelist add --bucket myBucket\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpindlebot%2Fs3-whitelist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpindlebot%2Fs3-whitelist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpindlebot%2Fs3-whitelist/lists"}