Auto Configure aws-cli & ecs-cli
Project description
# AWS AC: Auto Credentials
## 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 install [--upgrade]
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.
```
aws-ac
aws-ac --upgrade
```
### aws-ac configure [USER] [CLI]
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.
```
aws-ac configure
aws-ac configure aws
aws-ac configure ecs
```
### aws-ac mfa \<TOKEN\> [SERIAL]
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.
```
aws-ac mfa 123456
aws-ac mfa 123456 <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.3.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for aws_ac-0.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25fb7a3aab142d4036abcc9d2928c9b44c9fc68b7f0c6156ac2fcd87c6f26963 |
|
MD5 | 681cf589090a647b2ac08312365461ca |
|
BLAKE2b-256 | 4e2b71bb2afd65dcf17a9865d855b9204b5086932d743b883d7c95e48f886fed |