How can one obtain an AWS session token on the AWS website?

(I know how to do it through CLI, but sometimes getting it from the website could be handy)


1 Answer 1


This isn't possible.

Session tokens and their accompanying temporary key and secret are only available from Security Token Service (STS) via API calls that the console does not offer a way to access.

The only ways to obtain tokens and credentials are those mentioned in the IAM User Guide -- CLI, Powershell, and SDKs, all of which call the STS API, which you can also call with third-party code.

Not the answer you're looking for? Browse other questions tagged or ask your own question.