{ "info": { "author": "Thomas Klinger", "author_email": "teekaay@github.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 1 - Planning", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "# aws-switchrole-links\n\n[![Build Status](https://travis-ci.org/teekaay/aws-switchrole-links.svg?branch=master)](https://travis-ci.org/teekaay/aws-switchrole-links)\n\n`aws-switchrole-links` is a simple script to generate links for easily switching\nroles in the AWS console. It generates links that automatically fill\nin the required fields so you only need to click a single button!\n\nIf you operate in a lot of different roles and accounts\nor regularly clear your cookies, you may find this script useful.\n\n## How it works\n\nIn the AWS console you can switch roles either by using the `Switch Role` link\nin the upper right corner after clicking on your current profile OR directly\ngenerate a link like\n`https://signin.aws.amazon.com/switchrole?account=1234567890&roleName=admin&displayName=admin-profile®ion=eu-central-1`.\n\nwhich will switch to the role `admin` in account `1234567890` in `eu-central-1`\nand display it as `admin-profile` (see `examples/awscli-config`).\n\n## Installation\n\n git clone https://github.com/teekaay/aws-switchrole-links.git aws-switchrole-links\n cd aws-switchrole-links\n python setup.py install\n\nor \n \n pip install git+https://github.com/teekaay/aws-switchrole-links.git\n\nto install the latest version from Github.\n\nMake sure to have awscli installed (`pip install awscli`) and have configured\nit.\n\n## Usage\n\n usage: aws-switchrole-links [-h] [--config CONFIG] [--format {json,text}] [--verbose]\n\n optional arguments:\n -h, --help show this help message and exit\n --config CONFIG jmespath expression for filtering output\n --format {json,text} output format\n --verbose enable verbose logging\n\n### Example\n\nBasic usage\n \n $ aws-switchrole-links --format text --config examples/awscli-config\n admin-profile :: https://signin.aws.amazon.com/switchrole?region=eu-central-1&roleName=admin&displayName=admin-profile&account=1234567890\n\n $ aws-switchrole-links --format json --config examples/awscli-config\n {\n \"signinLinks\": [\n {\n \"parameters\": {\n \"accountId\": \"1234567890\",\n \"roleName\": \"admin\",\n \"displayName\": \"admin-profile\",\n \"region\": \"eu-central-1\"\n },\n \"displayName\": \"admin-profile\",\n \"signinUrl\": \"https://signin.aws.amazon.com/switchrole?region=eu-central-1&roleName=admin&displayName=admin-profile&account=1234567890\"\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/teekaay/aws-switchrole-links", "keywords": "aws aws-console", "license": "Apache License, Version 2.0", "maintainer": "", "maintainer_email": "", "name": "aws-switchrole-links", "package_url": "https://pypi.org/project/aws-switchrole-links/", "platform": "", "project_url": "https://pypi.org/project/aws-switchrole-links/", "project_urls": { "Homepage": "https://github.com/teekaay/aws-switchrole-links" }, "release_url": "https://pypi.org/project/aws-switchrole-links/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "Generate links for switching role in AWS console", "version": "1.0.0" }, "last_serial": 4032831, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "43d3d13a9b0a70fc8755aade9d3956cc", "sha256": "ab7531707918d1c860960986c7d5bea16bccf2f6a53cda79e42087d0c7e142d6" }, "downloads": -1, "filename": "aws_switchrole_links-1.0.0-py3.5.egg", "has_sig": false, "md5_digest": "43d3d13a9b0a70fc8755aade9d3956cc", "packagetype": "bdist_egg", "python_version": "3.5", "requires_python": null, "size": 6756, "upload_time": "2018-07-05T11:01:51", "url": "https://files.pythonhosted.org/packages/3d/cd/4a1605c9254f86661274dbeca3748c5531cffa2264771420c9205569aa19/aws_switchrole_links-1.0.0-py3.5.egg" }, { "comment_text": "", "digests": { "md5": "4f226d8010133f7061d0dc707ccea20f", "sha256": "8b5a4327844b3d03294ec6ed7fc1e7282a54a30121d0471bd341142dd86d9b3d" }, "downloads": -1, "filename": "aws_switchrole_links-1.0.0.tar.gz", "has_sig": false, "md5_digest": "4f226d8010133f7061d0dc707ccea20f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3846, "upload_time": "2018-07-05T10:59:35", "url": "https://files.pythonhosted.org/packages/5a/ed/a7edc2a04bd6d010e5c77ddb922176b4ff0587fe68de1bf8c5766177cd26/aws_switchrole_links-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "43d3d13a9b0a70fc8755aade9d3956cc", "sha256": "ab7531707918d1c860960986c7d5bea16bccf2f6a53cda79e42087d0c7e142d6" }, "downloads": -1, "filename": "aws_switchrole_links-1.0.0-py3.5.egg", "has_sig": false, "md5_digest": "43d3d13a9b0a70fc8755aade9d3956cc", "packagetype": "bdist_egg", "python_version": "3.5", "requires_python": null, "size": 6756, "upload_time": "2018-07-05T11:01:51", "url": "https://files.pythonhosted.org/packages/3d/cd/4a1605c9254f86661274dbeca3748c5531cffa2264771420c9205569aa19/aws_switchrole_links-1.0.0-py3.5.egg" }, { "comment_text": "", "digests": { "md5": "4f226d8010133f7061d0dc707ccea20f", "sha256": "8b5a4327844b3d03294ec6ed7fc1e7282a54a30121d0471bd341142dd86d9b3d" }, "downloads": -1, "filename": "aws_switchrole_links-1.0.0.tar.gz", "has_sig": false, "md5_digest": "4f226d8010133f7061d0dc707ccea20f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3846, "upload_time": "2018-07-05T10:59:35", "url": "https://files.pythonhosted.org/packages/5a/ed/a7edc2a04bd6d010e5c77ddb922176b4ff0587fe68de1bf8c5766177cd26/aws_switchrole_links-1.0.0.tar.gz" } ] }