Skip to main content

Auto Configure aws-cli & ecs-cli

Project description

# AWS AC: Auto Credentials

```
pip install aws-ac
aws-ac start
```

## Install
Must be using Python 3! For MacOS and Linux. No native Windows support.
```
pip install aws-ac
```

If Python 3 is not your default Python Environment:
```
python3 -m venv venv
source venv/bin/activate
pip install aws-ac
```

## Commands

### aws-ac start [OPTIONS]
```
Options:
--user TEXT AWS Username
--token TEXT MFA Token
--serial TEXT MFA Serial
```

### aws-ac install [OPTIONS]
This installs the [aws-cli](https://aws.amazon.com/documentation/cli/) and [ecs-cli](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_CLI.html) tools.
Supplying the `--upgrade` flag will update or reinstall the cli's to their newest verisons.
```
Options:
--upgrade
--cli TEXT CLI
```

### aws-ac configure [OPTIONS]
This prompts the user to configure the aws and ecs profiles. By providing the argument CLI with 'aws' or 'ecs' it can configure only one.

```
Options:
--user TEXT AWS Username
--cli TEXT CLI
```

### aws-ac mfa [OPTIONS] TOKEN
This prompts the user to obtain their mfa_serial key and if it has already been added creates a aws profile with a valid session token.
```
Options:
--serial TEXT MFA Serial
```


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

aws-ac-0.0.4.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

aws_ac-0.0.4-py2.py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 2 Python 3

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