How can one obtain a 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)


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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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