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

Uploaded Source

Built Distribution

zalando_aws_cli-1.2.9.40-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zalando-aws-cli-1.2.9.40.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for zalando-aws-cli-1.2.9.40.tar.gz
Algorithm Hash digest
SHA256 70464f4416e60f6bbfa42ff770b7ccda4962021775ab24085d44a7d58b76031f
MD5 2ae7b55260c9b5a43c1245b4971ef4ab
BLAKE2b-256 4c1d403fbeaceefe6713b0e83cff3f1b1f5a1fc1b966d8559f6281525bc6c4bd

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for zalando_aws_cli-1.2.9.40-py3-none-any.whl
Algorithm Hash digest
SHA256 74b2fde1afba64c63eb83c9dce7e0f16e2aa67e6b163af9b86f748acc43b306f
MD5 34e93c25585547944f2d9623f4c95f0f
BLAKE2b-256 37b665246c8529ca4f467cf4681a397c761748df3915cbe41134306550472c9e

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