Longer Sessions For IAM Roles March 29, 2018 By admin Now, AWS Security Token Service (STS) enables you to have longer federated access to your AWS resources by increasing the maximum CLI/API session duration to up to 12 hours for an IAM role.