===============
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": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "aws account saml login federated shibboleth",
"author": "Henning Jacobs",
"author_email": "henning.jacobs@zalando.de",
"download_url": "https://files.pythonhosted.org/packages/4c/1d/403fbeaceefe6713b0e83cff3f1b1f5a1fc1b966d8559f6281525bc6c4bd/zalando-aws-cli-1.2.9.40.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.9.40",
"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": "37b665246c8529ca4f467cf4681a397c761748df3915cbe41134306550472c9e",
"md5": "34e93c25585547944f2d9623f4c95f0f",
"sha256": "74b2fde1afba64c63eb83c9dce7e0f16e2aa67e6b163af9b86f748acc43b306f"
},
"downloads": -1,
"filename": "zalando_aws_cli-1.2.9.40-py3-none-any.whl",
"has_sig": false,
"md5_digest": "34e93c25585547944f2d9623f4c95f0f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7851,
"upload_time": "2023-05-24T15:55:44",
"upload_time_iso_8601": "2023-05-24T15:55:44.871571Z",
"url": "https://files.pythonhosted.org/packages/37/b6/65246c8529ca4f467cf4681a397c761748df3915cbe41134306550472c9e/zalando_aws_cli-1.2.9.40-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4c1d403fbeaceefe6713b0e83cff3f1b1f5a1fc1b966d8559f6281525bc6c4bd",
"md5": "2ae7b55260c9b5a43c1245b4971ef4ab",
"sha256": "70464f4416e60f6bbfa42ff770b7ccda4962021775ab24085d44a7d58b76031f"
},
"downloads": -1,
"filename": "zalando-aws-cli-1.2.9.40.tar.gz",
"has_sig": false,
"md5_digest": "2ae7b55260c9b5a43c1245b4971ef4ab",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8888,
"upload_time": "2023-05-24T15:55:47",
"upload_time_iso_8601": "2023-05-24T15:55:47.199731Z",
"url": "https://files.pythonhosted.org/packages/4c/1d/403fbeaceefe6713b0e83cff3f1b1f5a1fc1b966d8559f6281525bc6c4bd/zalando-aws-cli-1.2.9.40.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-24 15:55:47",
"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"
}