zalando-aws-cli


Namezalando-aws-cli JSON
Version 1.2.10.48 PyPI version JSON
download
home_pagehttps://github.com/zalando-incubator/zalando-aws-cli
SummaryAWS login CLI
upload_time2024-04-10 08:12:56
maintainerNone
docs_urlNone
authorHenning Jacobs
requires_pythonNone
licenseApache License 2.0
keywords aws account saml login federated shibboleth
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ===============
Zalando AWS CLI
===============

This package provides the ``zaws`` command line utility to exchange OAuth tokens for temporary AWS credentials by calling the `AWS Credentials Service`_.

Installation
============

The ``zalando-aws-cli`` package is part of the ``stups`` bundle:

.. code-block:: bash

    $ sudo pip3 install -U stups
    $ stups configure

Usage
=====

.. code-block:: bash

    $ zaws list                  # list all allowed account roles
    $ zaws login myacc RoleName  # write ~/.aws/credentials

You can configure your default account/role to only run ``zaws``:

.. code-block:: bash

    $ zaws set-default myacc RoleName
    $ zaws

There are multiple ways of abbreviating the command line:

.. code-block:: bash

    $ zaws li            # command can be abbreviated
    $ zaws login myacc   # only the account name is needed if you have only one role
    $ zaws alias myalias myacc PowerUser # create an alias
    $ zaws lo myalias    # use the alias

Use ``-h`` to get a list of commands and help:

.. code-block:: bash

    $ zaws -h        # list top-level commands
    $ zaws login -h  # help on the "login" command

Running locally
===============

You can run the module directly during development:

.. code-block:: bash

    $ python3 -m zalando_aws_cli list
    $ python3 -m zalando_aws_cli login myacc PowerUser

Unit tests
==========

.. code-block:: bash

    $ sudo pip3 install tox
    $ tox

.. _AWS Credentials Service: https://github.com/zalando-incubator/aws-credentials-service

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/zalando-incubator/zalando-aws-cli",
    "name": "zalando-aws-cli",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "aws account saml login federated shibboleth",
    "author": "Henning Jacobs",
    "author_email": "henning.jacobs@zalando.de",
    "download_url": "https://files.pythonhosted.org/packages/e2/b0/b94ebc630ce4ff80a77742e3efc3cfdc53da73deaa9f67423fc8231211bf/zalando-aws-cli-1.2.10.48.tar.gz",
    "platform": null,
    "description": "===============\nZalando AWS CLI\n===============\n\nThis package provides the ``zaws`` command line utility to exchange OAuth tokens for temporary AWS credentials by calling the `AWS Credentials Service`_.\n\nInstallation\n============\n\nThe ``zalando-aws-cli`` package is part of the ``stups`` bundle:\n\n.. code-block:: bash\n\n    $ sudo pip3 install -U stups\n    $ stups configure\n\nUsage\n=====\n\n.. code-block:: bash\n\n    $ zaws list                  # list all allowed account roles\n    $ zaws login myacc RoleName  # write ~/.aws/credentials\n\nYou can configure your default account/role to only run ``zaws``:\n\n.. code-block:: bash\n\n    $ zaws set-default myacc RoleName\n    $ zaws\n\nThere are multiple ways of abbreviating the command line:\n\n.. code-block:: bash\n\n    $ zaws li            # command can be abbreviated\n    $ zaws login myacc   # only the account name is needed if you have only one role\n    $ zaws alias myalias myacc PowerUser # create an alias\n    $ zaws lo myalias    # use the alias\n\nUse ``-h`` to get a list of commands and help:\n\n.. code-block:: bash\n\n    $ zaws -h        # list top-level commands\n    $ zaws login -h  # help on the \"login\" command\n\nRunning locally\n===============\n\nYou can run the module directly during development:\n\n.. code-block:: bash\n\n    $ python3 -m zalando_aws_cli list\n    $ python3 -m zalando_aws_cli login myacc PowerUser\n\nUnit tests\n==========\n\n.. code-block:: bash\n\n    $ sudo pip3 install tox\n    $ tox\n\n.. _AWS Credentials Service: https://github.com/zalando-incubator/aws-credentials-service\n",
    "bugtrack_url": null,
    "license": "Apache License 2.0",
    "summary": "AWS login CLI",
    "version": "1.2.10.48",
    "project_urls": {
        "Homepage": "https://github.com/zalando-incubator/zalando-aws-cli"
    },
    "split_keywords": [
        "aws",
        "account",
        "saml",
        "login",
        "federated",
        "shibboleth"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e3c8911b99fec7c2c408afe19d52bf6f96b90b97192e4072a02ef3f938179cb2",
                "md5": "a20a03aadc5bd2f9cb778b50e92fc25a",
                "sha256": "048b7f478731e92776cfc5daffee112649426821c158c985f60152269f4475fb"
            },
            "downloads": -1,
            "filename": "zalando_aws_cli-1.2.10.48-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a20a03aadc5bd2f9cb778b50e92fc25a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 8078,
            "upload_time": "2024-04-10T08:12:55",
            "upload_time_iso_8601": "2024-04-10T08:12:55.216174Z",
            "url": "https://files.pythonhosted.org/packages/e3/c8/911b99fec7c2c408afe19d52bf6f96b90b97192e4072a02ef3f938179cb2/zalando_aws_cli-1.2.10.48-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e2b0b94ebc630ce4ff80a77742e3efc3cfdc53da73deaa9f67423fc8231211bf",
                "md5": "d97d5b97aa186e617c5495bc20d45458",
                "sha256": "e2ffa9cbe438ff00ac98f3c6932952b5b013d83d9ef08bd78a181244980d9e3f"
            },
            "downloads": -1,
            "filename": "zalando-aws-cli-1.2.10.48.tar.gz",
            "has_sig": false,
            "md5_digest": "d97d5b97aa186e617c5495bc20d45458",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 9136,
            "upload_time": "2024-04-10T08:12:56",
            "upload_time_iso_8601": "2024-04-10T08:12:56.440323Z",
            "url": "https://files.pythonhosted.org/packages/e2/b0/b94ebc630ce4ff80a77742e3efc3cfdc53da73deaa9f67423fc8231211bf/zalando-aws-cli-1.2.10.48.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-10 08:12:56",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "zalando-incubator",
    "github_project": "zalando-aws-cli",
    "github_not_found": true,
    "lcname": "zalando-aws-cli"
}
        
Elapsed time: 0.29689s