{ "info": { "author": "Aidan Rowe", "author_email": "aidanrowe@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Plugins", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Utilities" ], "description": "# httpie-aws-authv4\nAWS / Amazon Signature v4 Signing Process authentication plugin for [HTTPie](https://httpie.org/).\n\n## Installation\n\n```\n$ pip install --upgrade httpie-aws-authv4\n```\n\nYou should now see `aws4` under `--auth-type / -A` in `$ http --help` output.\n\n## Usage\n\n### Credentials in default profile/environment variables/instance profile\nThis authentication plugin looks for credentials in the same [precedence that the AWS CLI tool](http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#config-settings-and-precedence) does.\n\n```\n$ http --auth-type aws4 https://asdf123a9sas.execute-api.ap-southeast-2.amazonaws.com/dev/test \n```\n\n### Specify credentials on the CLI\n\n```\n$ http --auth-type aws4 --auth ACCESSKEYXXX:AWSSECRETKEYXXX https://asdf123a9sas.execute-api.ap-southeast-2.amazonaws.com/dev/test \n```\n\n### Specify credentials profile on the CLI\nYou can specify an another profile than the default profile by providing the keyword `profile` instead of the access key.\n\n```\n$ http --auth-type aws4 --auth profile:XXX https://asdf123a9sas.execute-api.ap-southeast-2.amazonaws.com/dev/test \n```\n\n### Specify the endpoint\nIf for some reason you are not hitting the AWS endpoint directly (common with API Gateway), you will need to specify the AWS provided endpoint on the CLI. This is used to determine the service and region values required for the signature process.\n\n```\n$ http --auth-type aws4 --auth asdf123a9sas.execute-api.ap-southeast-2.amazonaws.com https://api.awesomeservice.net/dev/test \n```\n\n### Specify credentials and endpoint\n\n```\n$ http --auth-type aws4 --auth ACCESSKEYXXX:AWSSECRETKEYXXX:asdf123a9sas.execute-api.ap-southeast-2.amazonaws.com https://api.awesomeservice.net/dev/test \n```\n\n### Specify credentials profile and endpoint\n\n```\n$ http --auth-type aws4 --auth profile:XXX:asdf123a9sas.execute-api.ap-southeast-2.amazonaws.com https://api.awesomeservice.net/dev/test \n```\n\n### Calling AWS services that require extra information\n\nMany AWS services do not require any extra information to be passed other than the URL, such as the following call to the\nS3 service which will list all S3 Buckets in the given AWS account:\n\n```\nhttp -A aws4 s3.us-east-1.amazonaws.com\n```\n\nHowever, some AWS services will require extra information to be passed using query string parameters. By default, ``httpie`` passes\nextra parameters as a JSON body. ``httpie`` can be told to pass extra parameters as form fields using the ``-f`` flag like so:\n\n```\n$ http -f -A aws4 ec2.us-east-1.amazonaws.com Action=DescribeVpcs Version=2015-10-01\n```\n\nwhere the *Action* and *Version* parameters were passed to the EC2 service to call the **DescribeVpcs** API.\n\nAlternatively instead of using the ``-f`` flag, ``==`` can be used for each parameter like so:\n\n```\n$ http -A aws4 ec2.us-east-1.amazonaws.com Action==DescribeVpcs Version==2015-10-01\n```\n\n## Credits\n\nAll of the heavy lifting (the signing process) is handled by [aws-requests-auth](https://github.com/DavidMuller/aws-requests-auth)", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/aidan-/httpie-aws-authv4", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/aidan-/httpie-aws-authv4", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "httpie-aws-authv4", "package_url": "https://pypi.org/project/httpie-aws-authv4/", "platform": "", "project_url": "https://pypi.org/project/httpie-aws-authv4/", "project_urls": { "Download": "https://github.com/aidan-/httpie-aws-authv4", "Homepage": "https://github.com/aidan-/httpie-aws-authv4" }, "release_url": "https://pypi.org/project/httpie-aws-authv4/0.1.4/", "requires_dist": null, "requires_python": "", "summary": "AWS auth v4 plugin for HTTPie.", "version": "0.1.4" }, "last_serial": 4961624, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "dd0b418da5c30ca2b1e895ba10255659", "sha256": "1b51e953f8dafbfb4a5d243fdbbbaa580ba785234fbdc2c24feaa8563213c8dc" }, "downloads": -1, "filename": "httpie-aws-authv4-0.1.0.tar.gz", "has_sig": false, "md5_digest": "dd0b418da5c30ca2b1e895ba10255659", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3293, "upload_time": "2017-02-06T11:47:34", "url": "https://files.pythonhosted.org/packages/41/ae/2d95ef76a72369668d4a098e109168fede63d9ccfed120b0a7fe19d7cbbb/httpie-aws-authv4-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "7d599e81ff590811c554cfc7a8077c6f", "sha256": "53dd2a2be295a6e9cf7c57821cfc2523e65a494c32ddeb4e3bd3ac35291c6b25" }, "downloads": -1, "filename": "httpie-aws-authv4-0.1.1.tar.gz", "has_sig": false, "md5_digest": "7d599e81ff590811c554cfc7a8077c6f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4269, "upload_time": "2017-02-06T12:00:55", "url": "https://files.pythonhosted.org/packages/0e/af/68041b268dbac8561405ea6c70bbe48f91a59673a99a3ad07be8201c023c/httpie-aws-authv4-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "5ccd65772d04537343d8e79aa4cba82a", "sha256": "45dea0c499a3506730fa9346f1b936583ec0c1808a846baae98691e49f74cfcc" }, "downloads": -1, "filename": "httpie-aws-authv4-0.1.2.tar.gz", "has_sig": false, "md5_digest": "5ccd65772d04537343d8e79aa4cba82a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4256, "upload_time": "2017-09-28T11:28:07", "url": "https://files.pythonhosted.org/packages/a9/bb/390bd36f7b8245e6df0eaff598c002ecb9f1dc5e7123d6374c9b2b05f50d/httpie-aws-authv4-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "9a35084218d9ab3b9948b02a3a96327c", "sha256": "2bf79bd599a914742ad00fa2bc509ac95e65c22af6cc270a9152c075fedaedfc" }, "downloads": -1, "filename": "httpie_aws_authv4-0.1.3-py3.7.egg", "has_sig": false, "md5_digest": "9a35084218d9ab3b9948b02a3a96327c", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 5995, "upload_time": "2019-03-19T22:48:42", "url": "https://files.pythonhosted.org/packages/8e/cc/8d8a7b60975b428982a2b1ab85c6904fa7f679e2c24e313b4a9b9138b3da/httpie_aws_authv4-0.1.3-py3.7.egg" }, { "comment_text": "", "digests": { "md5": "62abdbcf3df6d0b246e83aefb00abdc4", "sha256": "9637dcb5a72a3467dac5069b87fb0b65d8b9b7531b7c9df3097a4f03104d6180" }, "downloads": -1, "filename": "httpie-aws-authv4-0.1.3.tar.gz", "has_sig": false, "md5_digest": "62abdbcf3df6d0b246e83aefb00abdc4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4854, "upload_time": "2019-03-19T22:48:41", "url": "https://files.pythonhosted.org/packages/cb/60/22fc40c01915d6d9debf0179aebeb4e189300475f351e34c678d16b2301c/httpie-aws-authv4-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "aa29813dff2176151997748922a06ac8", "sha256": "f9c54c0386c0c30220065812a4538bc83f1c314a1df24aba9a3ddc23ad714ebd" }, "downloads": -1, "filename": "httpie-aws-authv4-0.1.4.tar.gz", "has_sig": false, "md5_digest": "aa29813dff2176151997748922a06ac8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4871, "upload_time": "2019-03-20T01:32:08", "url": "https://files.pythonhosted.org/packages/05/96/4794fd3531a8696b2cdb6248a29660aa587edf3e7ce4458a992ee10e2969/httpie-aws-authv4-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "aa29813dff2176151997748922a06ac8", "sha256": "f9c54c0386c0c30220065812a4538bc83f1c314a1df24aba9a3ddc23ad714ebd" }, "downloads": -1, "filename": "httpie-aws-authv4-0.1.4.tar.gz", "has_sig": false, "md5_digest": "aa29813dff2176151997748922a06ac8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4871, "upload_time": "2019-03-20T01:32:08", "url": "https://files.pythonhosted.org/packages/05/96/4794fd3531a8696b2cdb6248a29660aa587edf3e7ce4458a992ee10e2969/httpie-aws-authv4-0.1.4.tar.gz" } ] }