AWS login CLI
Project description
IMPORTANT: This tool is deprecated. Please use the new tool available at: https://cloud.docs.zalando.net/reference/zaws/
This package previously provided the zaws command line utility. It now serves as a transition to the new tool. package provides the zaws command line utility to exchange OAuth tokens for temporary AWS credentials by calling the AWS Credentials Service.
Installation
Installing or updating this package will provide information about migrating to the new tool.
The zalando-aws-cli package is part of the stups bundle:
$ sudo pip3 install -U stups
$ stups configure
Usage (deprecated)
$ 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:
$ zaws set-default myacc RoleName
$ zaws
There are multiple ways of abbreviating the command line:
$ 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:
$ zaws -h # list top-level commands
$ zaws login -h # help on the "login" command
Running locally
You can run the module directly during development:
$ python3 -m zalando_aws_cli list
$ python3 -m zalando_aws_cli login myacc PowerUser
Unit tests
$ sudo pip3 install tox
$ tox
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file zalando_aws_cli-1.2.12.61.tar.gz
.
File metadata
- Download URL: zalando_aws_cli-1.2.12.61.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4900930e325bdfcb45b5aac59319bdee0077073440e4a6d2c487b3116bbbe8f9 |
|
MD5 | 52581552d96ae705e4614bc08c6f36cb |
|
BLAKE2b-256 | 6c2c1c555f1dffebc38c020e283aa6d9950c0ce8ec6f738f3ba24d516dad47e9 |
File details
Details for the file zalando_aws_cli-1.2.12.61-py3-none-any.whl
.
File metadata
- Download URL: zalando_aws_cli-1.2.12.61-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72d989319af6bb390ad736cb69ac5f63b36072420db9c202ced5d9e7c40d7cd1 |
|
MD5 | 4875c386afb5a020b0fe9ee64d8a5635 |
|
BLAKE2b-256 | 5779771e604e55e42b89071d8f798dcebd6f92f1e0fccca167aa1899db33194e |