aws: add role delegation and MFA support as per IAM Best Practices (#8419)
* Added role delegation support and MFA support as per IAM Best Practices * fix: grep with color enabled breaks profile parsing * fix: compatible with MacOS basic sed * docs: Added jq as a dependency * feat: added variable session duration, if the role to be assumed permits it. * bug: incorrect assigment for session length * fix: profile extraction failed with some versions of sed Fixed the issue that resulted from merging upstream changes to allow "." in the profile name * fix: broken profile parsing when profile name contains "@"
Please register or sign in to comment