All notable changes to this project will be documented in this file.
2.1.0 - 2019-08-12
- Add the
assume-role
flag for passing a role name - Add the
duration
flag for passing the MFA session duration - Add a
license
badge toREADME
file - Add a check to see if the script was sourced
- Add ability to generate multiple MFA and
assume-role
sessions
- Create functions
- Rename variables
- Improve documentation formatting
- Update the
usage
section ofREADME
file
2.0.1 - 2019-08-01
- Refactor to make use of the
export_aws_credentials
function
- Use command substitution to properly parse
$aws_session_expiry_date
(macOS)
2.0.0 - 2019-07-24
- Add the
cli
flag for passingaws
commands - Add the
profile
flag for passing a profile name - Add the
role-arn
flag for passing the role ARN - Add the
token-code
flag for passing an MFA token code - Fallback to credentials found in
/home/<USER>/.aws
- Environment variable names
- Update the
usage
section ofREADME
file
- Remove the
-r
flag fromsed
command (macOS: illegal option) - Fail if the exit code for the
assume-role
command 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
/tmp
with/home/<user>
for safer credential storage - Use the correct
date
command for macOS
0.1.2 - 2019-07-12
- Documentation
- Ensure that the
/tmp/.aws
directory exists - Corrected typos
0.1.1 - 2019-07-12
- Ensure that the
/tmp/.aws/session-credentials
file 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.