Smart AWS Cli Config - ~/.aws/credentials generator for lazy devs

project homepage: https://blog.ivnilv.com/tools/sacc/

project source code: https://github.com/ivnilv/sacc/


sacc is a tool built out of the necessity to get new AWS session tokens every 36 (maximum) hours.

The tool will use your AWS access key and secret to request new session token from the AWS Security Token Service (AWS STS).

Usage:

usage

Prerequisites:

  • You will need an existing AWS account
  • MFA (Multi-factor authentication) device linked to your account
  • AWS API Access key generated from your account

Requirements:

Installation:

Clone the repository locally:

$ git clone https://github.com/ivnilv/sacc.git ~/sacc/
Install a link to your $PATH:
$ sudo ln -s ~/sacc/sacc /usr/local/bin/