{ "info": { "author": "Jamie Starke", "author_email": "github@jamiestarke.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "aws-profile\n===========\n\n.. image:: https://img.shields.io/travis/jrstarke/aws-profile/master.svg?style=flat-square\n :target: https://travis-ci.org/jrstarke/aws-profile\n\n.. image:: https://img.shields.io/coveralls/jrstarke/aws-profile/master.svg?style=flat-square\n :target: https://coveralls.io/r/jrstarke/aws-profile\n\n.. image:: https://img.shields.io/pypi/v/aws-profile.svg?style=flat-square\n :target: https://pypi.python.org/pypi/aws-profile\n\n.. image:: https://img.shields.io/pypi/pyversions/aws-profile.svg?style=flat-square\n :target: https://pypi.python.org/pypi/aws-profile\n\n.. image:: https://img.shields.io/pypi/implementation/coveralls.svg?style=flat-square\n :target: https://pypi.python.org/pypi/aws-profile\n\nWrapper script to generate and pass AWS AssumeRole keys to other scripts\n\n\nUsage\n-----\n\nThere are two primary ways to use **aws-profile**, inline using arguments and with environment variables.\n\n**Inline Profile Name**\n\n`aws-profile [-p, --profile ] `\n\n**Profile Environment Variable**\n\n`AWS_DEFAULT_PROFILE='' aws-profile `\n\n`AWS_PROFILE='' aws-profile `\n\n\nOptions\n-------\n\n**AWS_CACHE**: Set the AWS_CACHE environment variable to control caching.\nUse `AWS_CACHE=false` to disable caching, or any other value\n(or unset) to keep caching enabled. When set to false the MFA\ncode will be requested every time.\n\nConfiguring Profiles\n--------------------\n\n`aws-profile` uses the built in profiles from the AWS CLI. For full details see `Named Profiles `_ in the AWS Documentation.\n\nHere is an example of how to configure a profile for a role, with MFA::\n\n [profile my_profile]\n role_arn = arn:aws:iam:::role/\n source_profile = default\n mfa_serial = arn:aws:iam:::mfa/\n\nWhere `` is your AWS Account ID, `` is the name of the role you want to assume, and `` is the username of the AWS User used fo your default profile.\n\nDevelopment\n-----------\n\nClone from github (or preferably from your own fork)\n\n``git clone https://github.com/jrstarke/aws-profile.git``\n\nCreate a clean virtual environment examples for virtualenv and pyenv with virtualenv wrapper\n\n``virtualenv venv``\n``source venv/bin/activate``\n\nor\n\n``pyenv virtualenv aws-profile``\n``pyenv activate aws-profile``\n\nInstall the development dependencies\n\n``pip install -e \".[dev]\"``\n\nRun the tests before making changes and then again before creating a pull request (There will be 3 warnings about external dependencies which can be ignored)\n\n``pytest --cov=awsprofile --cov-report term-missing``\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jrstarke/aws-profile", "keywords": "aws profile assume role", "license": "", "maintainer": "", "maintainer_email": "", "name": "aws-profile", "package_url": "https://pypi.org/project/aws-profile/", "platform": "", "project_url": "https://pypi.org/project/aws-profile/", "project_urls": { "Homepage": "https://github.com/jrstarke/aws-profile" }, "release_url": "https://pypi.org/project/aws-profile/0.5.0/", "requires_dist": [ "botocore (>=1.3.15)", "awscli (>=1.14.10)", "pytest; extra == 'dev'", "pytest-cov; extra == 'dev'", "pytest-mock; extra == 'dev'", "coveralls; extra == 'dev'" ], "requires_python": "", "summary": "A wrapper for executing a command using AWS Assumed Role", "version": "0.5.0" }, "last_serial": 4455830, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "127d65a3e7c3be3f20d3938facfbc207", "sha256": "835ae7ef84d3b36000eb5ad27df85d0b8f04366f28893558f2f582944f3a6ddb" }, "downloads": -1, "filename": "aws-profile-0.1.0.tar.gz", "has_sig": false, "md5_digest": "127d65a3e7c3be3f20d3938facfbc207", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3215, "upload_time": "2016-11-18T04:39:35", "url": "https://files.pythonhosted.org/packages/8e/bc/ca6b65dc5dc2cbdc5f49a9a2237437d78480c98d63fcb278ed55af9f13e1/aws-profile-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "0eda034d69549edd387993def3f90baf", "sha256": "833929692c117f7e861d4bd497e492b04f96c29536485b7aa4fce5c0b13023a2" }, "downloads": -1, "filename": "aws-profile-0.1.1.tar.gz", "has_sig": false, "md5_digest": "0eda034d69549edd387993def3f90baf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3255, "upload_time": "2016-11-28T00:19:48", "url": "https://files.pythonhosted.org/packages/75/86/d29268a580708457718de24e9bebf90a7fcff48c6e21a1d94a91b38176af/aws-profile-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "618d1134ed2ab9a4ae55a27d8b716d7c", "sha256": "43f9d0eabdd7ced89be47696bdfc66cc48b9f15572046de14d6bc19098be7f17" }, "downloads": -1, "filename": "aws-profile-0.2.0.tar.gz", "has_sig": false, "md5_digest": "618d1134ed2ab9a4ae55a27d8b716d7c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3253, "upload_time": "2017-08-13T04:14:03", "url": "https://files.pythonhosted.org/packages/03/ab/3551e39972616687d60f8c5f9015ccf836149c7f90377a26d2f57a207c4e/aws-profile-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "31851ad349b5882497ff6c69ff67afb8", "sha256": "6598f7bc6755969520b42e6f73b26393186f5e8bcb9790ee88fad3f3e1a940a2" }, "downloads": -1, "filename": "aws-profile-0.3.0.tar.gz", "has_sig": false, "md5_digest": "31851ad349b5882497ff6c69ff67afb8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3507, "upload_time": "2017-12-08T15:35:15", "url": "https://files.pythonhosted.org/packages/a9/0a/be721cf243a702d2ab13aac60b51666012a8ee5610fd8f83861eb5e11373/aws-profile-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "fec3e6deb45d616b6024d8cf0b275c5f", "sha256": "c73e9a3ed38d680bc2edc4ea95841902cb03ee62f25f730a6fb08eb84272f1b0" }, "downloads": -1, "filename": "aws-profile-0.4.0.tar.gz", "has_sig": false, "md5_digest": "fec3e6deb45d616b6024d8cf0b275c5f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3492, "upload_time": "2018-10-25T14:05:17", "url": "https://files.pythonhosted.org/packages/80/6c/2a88607982f8f34921044eb8cbff492b086e811cf2128d470194fd6a3d76/aws-profile-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "c43c6c10454f0b8193a0f69b12b4bbe5", "sha256": "03c56b71b8695f7a55d148ac467dfc10b7331c5325504a8b015b677152f68877" }, "downloads": -1, "filename": "aws-profile-0.4.1.tar.gz", "has_sig": false, "md5_digest": "c43c6c10454f0b8193a0f69b12b4bbe5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3930, "upload_time": "2018-10-26T03:13:53", "url": "https://files.pythonhosted.org/packages/43/a8/26826ab9a91dc48b03b5eaf06f7f832464250471fb3e72a0e1c27c5a450f/aws-profile-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "32c3a06ef589b0abd48a33e7b1801eaf", "sha256": "dcfe6f6f6c1c273c58eec087665b30379619f5ef22ddbf18c439f63c68f849c2" }, "downloads": -1, "filename": "aws-profile-0.4.2.tar.gz", "has_sig": false, "md5_digest": "32c3a06ef589b0abd48a33e7b1801eaf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3944, "upload_time": "2018-10-26T04:28:30", "url": "https://files.pythonhosted.org/packages/84/e3/a2f13a6880674c558d95b875e9dc6235c9a928e03fbf11fe0302d610217c/aws-profile-0.4.2.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "e4e3e2b80ebdaa630d1d3f2402f7c1a1", "sha256": "003ae046a354e1e4632bca64852a1e7faba8f644c768ed4a6e1f2273e18a0178" }, "downloads": -1, "filename": "aws_profile-0.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e4e3e2b80ebdaa630d1d3f2402f7c1a1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4146, "upload_time": "2018-11-06T04:23:41", "url": "https://files.pythonhosted.org/packages/93/51/6780ee70076d78e485745270e48a83f920a24f364c153262fdab86a24563/aws_profile-0.5.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ef6e953d437fadaf37f7e8154e1ec6e6", "sha256": "71c1c6b747bbb9c630cba9605cde9fd0dd6d06ef1349c5e9cbf208ce213deb1e" }, "downloads": -1, "filename": "aws-profile-0.5.0.tar.gz", "has_sig": false, "md5_digest": "ef6e953d437fadaf37f7e8154e1ec6e6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4576, "upload_time": "2018-11-06T04:23:43", "url": "https://files.pythonhosted.org/packages/16/d6/6e52a3cc7894dc0ab66eebfa773a3c088d9a0767e5039058211594985c48/aws-profile-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e4e3e2b80ebdaa630d1d3f2402f7c1a1", "sha256": "003ae046a354e1e4632bca64852a1e7faba8f644c768ed4a6e1f2273e18a0178" }, "downloads": -1, "filename": "aws_profile-0.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e4e3e2b80ebdaa630d1d3f2402f7c1a1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4146, "upload_time": "2018-11-06T04:23:41", "url": "https://files.pythonhosted.org/packages/93/51/6780ee70076d78e485745270e48a83f920a24f364c153262fdab86a24563/aws_profile-0.5.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ef6e953d437fadaf37f7e8154e1ec6e6", "sha256": "71c1c6b747bbb9c630cba9605cde9fd0dd6d06ef1349c5e9cbf208ce213deb1e" }, "downloads": -1, "filename": "aws-profile-0.5.0.tar.gz", "has_sig": false, "md5_digest": "ef6e953d437fadaf37f7e8154e1ec6e6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4576, "upload_time": "2018-11-06T04:23:43", "url": "https://files.pythonhosted.org/packages/16/d6/6e52a3cc7894dc0ab66eebfa773a3c088d9a0767e5039058211594985c48/aws-profile-0.5.0.tar.gz" } ] }