{"id":13528234,"url":"https://github.com/allthings-archive/awscurl","last_synced_at":"2025-04-01T11:31:13.350Z","repository":{"id":77636245,"uuid":"104918154","full_name":"allthings-archive/awscurl","owner":"allthings-archive","description":"Signed AWS API requests with a curl like API.","archived":true,"fork":false,"pushed_at":"2018-03-23T11:50:02.000Z","size":13,"stargazers_count":25,"open_issues_count":0,"forks_count":1,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-11-02T13:34:19.397Z","etag":null,"topics":["devops","to-decide"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"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/allthings-archive.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}},"created_at":"2017-09-26T17:40:33.000Z","updated_at":"2024-08-30T12:29:47.000Z","dependencies_parsed_at":"2023-02-27T05:00:17.153Z","dependency_job_id":null,"html_url":"https://github.com/allthings-archive/awscurl","commit_stats":null,"previous_names":["allthings-archive/awscurl","allthings/awscurl"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allthings-archive%2Fawscurl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allthings-archive%2Fawscurl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allthings-archive%2Fawscurl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allthings-archive%2Fawscurl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allthings-archive","download_url":"https://codeload.github.com/allthings-archive/awscurl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246631806,"owners_count":20808760,"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":["devops","to-decide"],"created_at":"2024-08-01T06:02:20.579Z","updated_at":"2025-04-01T11:31:13.011Z","avatar_url":"https://github.com/allthings-archive.png","language":"Shell","readme":"# awscurl\n[Signed AWS API requests](http://docs.aws.amazon.com/general/latest/gr/signing_aws_api_requests.html)\nwith a [curl](https://curl.haxx.se/docs/manpage.html) like API.\n\n## Setup\n\n### Docker alias\nDefine an alias for the docker based `awscurl` command:\n\n```sh\nalias awscurl='docker run --rm '\\\n'-e AWS_ACCESS_KEY_ID '\\\n'-e AWS_SECRET_ACCESS_KEY '\\\n'-e AWS_SECURITY_TOKEN '\\\nallthings/awscurl\n```\n\n### OS dependent binary\nDownload one of the OS dependent\n[release files](https://github.com/allthings/awscurl/releases), save it as\n`/usr/local/bin/awscurl` and make it executable with\n`chmod +x /usr/local/bin/awscurl`.\n\n## Usage\n\n### Environment variables\nSet the following\n[AWS CLI environment variables](http://docs.aws.amazon.com/cli/latest/userguide/cli-environment.html):\n* `AWS_ACCESS_KEY_ID`\n* `AWS_SECRET_ACCESS_KEY`\n* `AWS_SECURITY_TOKEN` (optional)\n\n`AWS_SECURITY_TOKEN` (= `AWS_SESSION_TOKEN`) is only required when using the\n[AWS Security Token Service](http://docs.aws.amazon.com/STS/latest/APIReference/Welcome.html).\n\nThe recommended way to store and provide AWS CLI credentials is by using\n[aws-vault](https://github.com/99designs/aws-vault).\n\n### Options\n\n```sh\nawscurl [-X request_method] [-H header:value] [-d post_data] URL\n```\n\n### Example\n\n```sh\nawscurl -X POST -H x-api-key:example -d '{\"data\":\"example\"}' \\\n  https://example.execute-api.eu-west-1.amazonaws.com/\n```\n\n## Build\nFirst, clone the project via `go get` and then switch into its source directory:\n\n```sh\ngo get github.com/allthings/awscurl\ncd \"$GOPATH/src/github.com/allthings/awscurl\"\n```\n\nTo cross-compile binaries for Linux, MacOS and Window, execute the following:\n\n```sh\nmake\n```\n\nThe locally built binary can be installed at `$GOPATH/bin/awscurl` with the\nfollowing command:\n\n```sh\nmake install\n```\n\nThe uninstall command removes the binary from `$GOPATH/bin/awscurl`:\n\n```sh\nmake uninstall\n```\n\nTo clean up all build artifacts, run the following:\n\n```sh\nmake clean\n```\n\n## Docker build\nTo build the Docker image, run the following:\n\n```sh\nmake docker\n```\n\n## Release\nCreate a\n[GitHub personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/)\nwith `repo` scope and set it as `GITHUB_TOKEN` environment variable.\n\nCommit your changes, create a git tag and then execute the following to release\nthe binaries on GitHub:\n\n```sh\nmake release\n```\n\n## License\nReleased under the [MIT license](https://opensource.org/licenses/MIT).\n","funding_links":[],"categories":["Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallthings-archive%2Fawscurl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallthings-archive%2Fawscurl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallthings-archive%2Fawscurl/lists"}