Skip to main content

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


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-1.2.5.25.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

zalando_aws_cli-1.2.5.25-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file zalando-aws-cli-1.2.5.25.tar.gz.

File metadata

  • Download URL: zalando-aws-cli-1.2.5.25.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/38.3.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.4

File hashes

Hashes for zalando-aws-cli-1.2.5.25.tar.gz
Algorithm Hash digest
SHA256 0e62d868d6ef95f1616e843475e7a591882d664b188b5081c12a365f62d2677b
MD5 97e5aef035c7a05a4fa99293a7c39a74
BLAKE2b-256 a6c97c2e73961cf882172a617a1aad34cd6bf933bc3b86a9c1ac5f7da4563d3b

See more details on using hashes here.

Provenance

File details

Details for the file zalando_aws_cli-1.2.5.25-py3-none-any.whl.

File metadata

  • Download URL: zalando_aws_cli-1.2.5.25-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/38.3.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.4

File hashes

Hashes for zalando_aws_cli-1.2.5.25-py3-none-any.whl
Algorithm Hash digest
SHA256 2df0c2a04c912cb5c2249b93e325b7f3999df63ae316e477ce5f046ba2633082
MD5 4840774c2bd70ff6f1320fcc72da73c2
BLAKE2b-256 198fdfdfa7f695cda8b20a10a9206c8b89b85f7f79ac7b76cd0f9f28a8784949

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page