Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mhdzumair/awsrunas
aws-runas utility script to parse & setup aws credentials
https://github.com/mhdzumair/awsrunas
Last synced: 10 days ago
JSON representation
aws-runas utility script to parse & setup aws credentials
- Host: GitHub
- URL: https://github.com/mhdzumair/awsrunas
- Owner: mhdzumair
- License: apache-2.0
- Created: 2022-09-07T06:00:47.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-07T06:35:08.000Z (about 2 years ago)
- Last Synced: 2023-05-21T04:19:20.828Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# awsrunas
aws-runas utility script to parse & setup aws credentials. Just created to make my life easier. :sunglasses:# Requirement
- Setup [aws-runas](https://mmmorris1975.github.io/aws-runas/quickstart.html)# Setup
```bash
git clone https://github.com/mhdzumair/awsrunas.git
cd awsrunas# symlink to local bin folder
cp awsrunas.py ~/.local/bin/awsrunas -l```
# Usage
```bash
# see script help
awsrunas -h# setup ~/.aws/credentials file
awsrunas my-account# export to current shell environment
eval `awsrunas -e my-account`# run with aws-runas options
awsrunas my-account -o "-a 8h -r"
```