Metadata-Version: 2.3
Name: li-aws-helper
Version: 0.4.1
Summary: Package that helps manage aws credentials
Author: Alini Ribeiro
Author-email: aliniribeiroo@gmail.com
Requires-Python: >=3.9,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: boto3 (>=1.24.71,<2.0.0)
Requires-Dist: requests-mock (>=1.10.0,<2.0.0)
Requires-Dist: typer (>=0.6.1,<0.7.0)
Project-URL: Documentation, https://github.com/liniribeiro/li-aws-helper
Project-URL: Homepage, https://github.com/liniribeiro/li-aws-helper
Project-URL: Source, https://github.com/liniribeiro/li-aws-helper
Description-Content-Type: text/markdown

# li-aws-helper

Project to facilitate using aws resources

[![CircleCI](https://dl.circleci.com/status-badge/img/gh/liniribeiro/li-aws-helper/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/liniribeiro/li-aws-helper/tree/main)


To start using this project, you must install our package: 

```
pip3 install li-aws-helper
```

And configurate your aws credentials just once:
```bash
li config
```

The service will make three questions for you:
- Access Key
- Secret Key
- MFA Identifier

All those answers you can find at AWS Console/ Security credentials 
![image](assets/mfa_2.png)


you can add to .bash a function to make the command shorter:
```
litoken(){
 li refresh --token $1
}
```

Then run at your terminal:

```
litoken xxxxxx
```


## Package Usage for aws commands
- First we must configure your aws credentials:
```bash
li config
```

Then use as commandline to refresh your 2f auth with aws. 
```bash
li refresh --token 770592
```

Install
```
pip3 install li-aws-helper
```


## Local Development

- Build the project: `poetry build`
- Install the project: `poetry install`
- install twine: `python3 -m pip install --upgrade twine`


FAQ
- What is a arn?
- Where I can find my AWS key and secret?



