AWS login CLI
Project description
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:
$ sudo pip3 install -U stups
$ stups configure
Usage
$ 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
Close
Hashes for zalando-aws-cli-1.2.10.48.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2ffa9cbe438ff00ac98f3c6932952b5b013d83d9ef08bd78a181244980d9e3f |
|
MD5 | d97d5b97aa186e617c5495bc20d45458 |
|
BLAKE2b-256 | e2b0b94ebc630ce4ff80a77742e3efc3cfdc53da73deaa9f67423fc8231211bf |
Close
Hashes for zalando_aws_cli-1.2.10.48-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 048b7f478731e92776cfc5daffee112649426821c158c985f60152269f4475fb |
|
MD5 | a20a03aadc5bd2f9cb778b50e92fc25a |
|
BLAKE2b-256 | e3c8911b99fec7c2c408afe19d52bf6f96b90b97192e4072a02ef3f938179cb2 |