{"id":32474905,"url":"https://github.com/brianfoshee/s3post","last_synced_at":"2026-05-14T21:04:59.184Z","repository":{"id":44734102,"uuid":"70209800","full_name":"brianfoshee/s3post","owner":"brianfoshee","description":"Go packages to create and sign policies for browser-based file uploads to AWS S3","archived":false,"fork":false,"pushed_at":"2022-01-28T00:13:56.000Z","size":42,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-26T20:43:39.597Z","etag":null,"topics":["aws","s3"],"latest_commit_sha":null,"homepage":"http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-UsingHTTPPOST.html","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/brianfoshee.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}},"created_at":"2016-10-07T02:38:24.000Z","updated_at":"2022-08-16T03:05:11.000Z","dependencies_parsed_at":"2022-08-27T17:01:26.496Z","dependency_job_id":null,"html_url":"https://github.com/brianfoshee/s3post","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/brianfoshee/s3post","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianfoshee%2Fs3post","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianfoshee%2Fs3post/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianfoshee%2Fs3post/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianfoshee%2Fs3post/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brianfoshee","download_url":"https://codeload.github.com/brianfoshee/s3post/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianfoshee%2Fs3post/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33043254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"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":["aws","s3"],"created_at":"2025-10-26T20:15:17.720Z","updated_at":"2026-05-14T21:04:59.168Z","avatar_url":"https://github.com/brianfoshee.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/brianfoshee/s3post.png)](https://travis-ci.org/brianfoshee/s3post)\n[![GoDoc](https://godoc.org/github.com/brianfoshee/s3post?status.svg)](https://godoc.org/github.com/brianfoshee/s3post)\n\nPackage s3post signs POST policy documents for browser-based file uploads\nto AWS S3. More details on browser-based file uploads can be found in the\n[AWS docs][docs].\n\nBoth `s3post` and `policy` packages use only stdlib deps, no aws sdk required.\n\n### Usage\n\nTo use this package, generate a POST policy document then pass that policy into\nthe Sign method to receive a signature to be used in a POST form.\n\nDetails on Policy documents can be found in the [AWS docs][pdocs].\n\nThe [policy][policy] package can be used to generate these documents if\nnecessary.\n\n```go\np := s3post.New(\"us-east-1\", secret)\nencoded, signed := p.Sign(policyBytes)\n```\n\nSee the examples folder for complete usage.\n\n### Signature details\n\nThe policy document is signed using this calculation:\n\n[![Signature Calculation](http://docs.aws.amazon.com/AmazonS3/latest/API/images/sigV4-post.png)](http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-UsingHTTPPOST.html#sigv4-post-signature-calc)\n\n[docs]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-UsingHTTPPOST.html\n[pdocs]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-HTTPPOSTConstructPolicy.html\n[policy]: https://github.com/brianfoshee/s3post/tree/master/policy\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianfoshee%2Fs3post","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrianfoshee%2Fs3post","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianfoshee%2Fs3post/lists"}