Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 1.32 KB

README.md

File metadata and controls

50 lines (31 loc) · 1.32 KB

aws-rotate

aws-rotate Coverage Status Downloads

Rotate AWS Access Keys and update local credentials file.

It's good practise to rotate access IDs and keys for AWS IAM users, but a pain to do, this simple script automates the process

Installation

Create a python virtual environment and activate it

pip install aws-rotate

Usage

Make sure you have the relevant AWS_PROFILE environment variable set or the default profile will be used see aws credentials

aws-rotate-keys

Development

Clone this repo and install the dev packages

pip install -e ".[dev]"

Install pre-commit hooks to help ensure standards are met, or run isort --profile=black . with black -S before committing.

pre-commit install

Run the tests (automated on PR opening)

pytest

Once you have made changes and the test pass create a pull request

Contributors

@cagriy