duo-labs / cloudmapper

CloudMapper helps you analyze your Amazon Web Services (AWS) environments.
BSD 3-Clause "New" or "Revised" License
5.9k stars 797 forks source link

The security token included in the request is expired #929

Open mkannan22 opened 2 years ago

mkannan22 commented 2 years ago

I am mapping a large environment and the token expires. The MaxSessionDuration on the role is 12h, where most default tools are set to 1H. Is there a switch/flag to set that I can specify the session time, such as -T 43200? The current setup is using an assume role using docker: python cloudmapper.py collect --config config.json --account xxxxxxxxx