At the moment, the length of temporary credentials is hardcoded to 1 hour . AWS provides an option to set these values from anywhere between 15 mins to 12 hours. Some of the use-cases might require credentials longer than 1 hour.
It would be nice to have a configuration option to do it.