{ "info": { "author": "Neeharika", "author_email": "neeharika.mm@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Programming Language :: Python" ], "description": "As part of AWS Governance to enhance the security with the accounts and IAM users, Federated API access is recommended for AWS resources instead of hard-coded IAM AcessID and SecretKeys in the config file.\n\n# Steps:\n\n- If this is the first time install of this python package, use below command:\n\n\t\tFor Python2.x version, pip install awssamlpy2\n\t\tFor Python3.x version, pip install awssamlpy3\n\n- To upgrade this python package to latest version, use below command:\n\n\t\tFor Python2.x version, pip install awssamlpy2 --upgrade\n\t\tFor Python3.x version, pip install awssamlpy3 --upgrade\n\n- Create a 'awssaml.properties' (~/awssaml.properties) file under your user home directory like below -\n\n\t\t[UserProp]\n\t\taws-region=us-east-1\n\t\taws-outputformat=json\n\t\tidpurl=https:///adfs/ls/IdpInitiatedSignOn.aspx?loginToRp=urn:amazon:webservices\n\n\tPlease refer to Mesh DOC-111675 for the idpurl\n\n- Create a 'configure' file under ~/.aws directory without providing the values for access and secret keys. Dont worry if haven't yet; the package will automatically create one if this file is not present. You may just choose the output and region fields as per your need.\n\n\t\t[default]\n\t\toutput = json\n\t\tregion = us-east-1\n\t\taws_access_key_id =\n\t\taws_secret_access_key =\n\n- We have taken care to package the required modules. But if there are any additional packages required, install the missing modules based on the error encountered like below:\n\n On Linux, pip install \n Eg: pip install requests\n\n On Windows, easy_install \n Eg: easy_install requests\n\n- Whenever you need SAML access to your AWS services, just the command:\n\n\t\taws-saml \n\n- This does the following:\n\n - Verifies your ~/.aws/configure file to set the approriate region; OR creates one if its not present\n\n\t\t- Prompts the user for AD username/password and does SAML auth with our ADFS\n NOTE: Username has to be in the format \\\n\n\t\t- Based on SAML response, prompts the user to choose the roles available on AWS for that user\n\n\t\t- Then, stores the temporarily created credentials (using Amazon STS service) for the user in the ~/.aws/credentials file along with STS token\n\n\t\t- Use API calls to work on AWS resources\n\n\t\t- Sample API call used in the script is for listing the S3 buckets, which is in Boto2.x format\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "nh-awssamlpy2", "package_url": "https://pypi.org/project/nh-awssamlpy2/", "platform": "", "project_url": "https://pypi.org/project/nh-awssamlpy2/", "project_urls": null, "release_url": "https://pypi.org/project/nh-awssamlpy2/1.0.8.0/", "requires_dist": [ "beautifulsoup4", "requests", "html5lib", "boto", "configparser" ], "requires_python": "", "summary": "SAML federated API access for AWS", "version": "1.0.8.0" }, "last_serial": 5574055, "releases": { "1.0.8.0": [ { "comment_text": "", "digests": { "md5": "a338a62c7baf152f78e6694f6baa635a", "sha256": "bfa0ff4e7821411d971f10f5e0043396638add38f083a22dfad071620b7f01a7" }, "downloads": -1, "filename": "nh_awssamlpy2-1.0.8.0-py2-none-any.whl", "has_sig": false, "md5_digest": "a338a62c7baf152f78e6694f6baa635a", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6032, "upload_time": "2019-07-23T19:16:26", "url": "https://files.pythonhosted.org/packages/11/08/420e42f1d00674cf3f41afc6ca7aad94a9d4a2f88e6f6b7577417690abae/nh_awssamlpy2-1.0.8.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cd5193c4dda31e93f9dd5c074cad9014", "sha256": "9528395e99965a9812bf870eab89fcd8b643cc3ce17ccc8e5d2b525b36042571" }, "downloads": -1, "filename": "nh-awssamlpy2-1.0.8.0.tar.gz", "has_sig": false, "md5_digest": "cd5193c4dda31e93f9dd5c074cad9014", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5447, "upload_time": "2019-07-23T19:16:29", "url": "https://files.pythonhosted.org/packages/d9/fe/d2c75522ff8ec9a228265e63ffcaeabbd450c612e9945c463a7d140a77f0/nh-awssamlpy2-1.0.8.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a338a62c7baf152f78e6694f6baa635a", "sha256": "bfa0ff4e7821411d971f10f5e0043396638add38f083a22dfad071620b7f01a7" }, "downloads": -1, "filename": "nh_awssamlpy2-1.0.8.0-py2-none-any.whl", "has_sig": false, "md5_digest": "a338a62c7baf152f78e6694f6baa635a", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6032, "upload_time": "2019-07-23T19:16:26", "url": "https://files.pythonhosted.org/packages/11/08/420e42f1d00674cf3f41afc6ca7aad94a9d4a2f88e6f6b7577417690abae/nh_awssamlpy2-1.0.8.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cd5193c4dda31e93f9dd5c074cad9014", "sha256": "9528395e99965a9812bf870eab89fcd8b643cc3ce17ccc8e5d2b525b36042571" }, "downloads": -1, "filename": "nh-awssamlpy2-1.0.8.0.tar.gz", "has_sig": false, "md5_digest": "cd5193c4dda31e93f9dd5c074cad9014", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5447, "upload_time": "2019-07-23T19:16:29", "url": "https://files.pythonhosted.org/packages/d9/fe/d2c75522ff8ec9a228265e63ffcaeabbd450c612e9945c463a7d140a77f0/nh-awssamlpy2-1.0.8.0.tar.gz" } ] }