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
zalando-aws-cli-0.24.tar.gz
(6.9 kB
view details)
Built Distribution
File details
Details for the file zalando-aws-cli-0.24.tar.gz
.
File metadata
- Download URL: zalando-aws-cli-0.24.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be65254ba79b101370525ef6f2e05d3a5845c3674bb645b9d65bdfd20994457b |
|
MD5 | 1c1759be7cde573f56165edd7f8f30de |
|
BLAKE2b-256 | b4860f392f0003aa36badc70da2d15a3229884c45837878a3ff2a4ea2d755ddc |
Provenance
File details
Details for the file zalando_aws_cli-0.24-py3-none-any.whl
.
File metadata
- Download URL: zalando_aws_cli-0.24-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5c2d1213679647a6a7fde54863a23ac1f68ff3996f4533436667fb076ee5922 |
|
MD5 | e0577ae176c2dea70a9976251d93b1e9 |
|
BLAKE2b-256 | 6b069948c5d363b8df641efd0c06667828dcd48adb37a3951dafb1f207bcc0d4 |