All notable changes to this project will be documented in this file.
2.1.0 - 2019-08-12
- Add the
assume-roleflag for passing a role name - Add the
durationflag for passing the MFA session duration - Add a
licensebadge toREADMEfile - Add a check to see if the script was sourced
- Add ability to generate multiple MFA and
assume-rolesessions
- Create functions
- Rename variables
- Improve documentation formatting
- Update the
usagesection ofREADMEfile
2.0.1 - 2019-08-01
- Refactor to make use of the
export_aws_credentialsfunction
- Use command substitution to properly parse
$aws_session_expiry_date(macOS)
2.0.0 - 2019-07-24
- Add the
cliflag for passingawscommands - Add the
profileflag for passing a profile name - Add the
role-arnflag for passing the role ARN - Add the
token-codeflag for passing an MFA token code - Fallback to credentials found in
/home/<USER>/.aws
- Environment variable names
- Update the
usagesection ofREADMEfile
- Remove the
-rflag fromsedcommand (macOS: illegal option) - Fail if the exit code for the
assume-rolecommand is not equal to0
1.0.0 - 2019-07-19
- Documentation
- Support for AWS IAM roles
0.1.4 - 2019-07-18
- Properly handle the expiry date
0.1.3 - 2019-07-17
- Use the correct letter case for variables
- Exit the script when AWS session credentials are empty
- Properly handle success and fail messages
- Replace
/tmpwith/home/<user>for safer credential storage - Use the correct
datecommand for macOS
0.1.2 - 2019-07-12
- Documentation
- Ensure that the
/tmp/.awsdirectory exists - Corrected typos
0.1.1 - 2019-07-12
- Ensure that the
/tmp/.aws/session-credentialsfile exists
0.1.0 - 2019-07-12
- Documentaion
- Scripts
- Settings
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.