CmdID

CmdID / aws / aws sts

aws sts get-session-token

Returns a set of temporary credentials for an Amazon Web Services account or IAM user. AWS CLI reference

4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

4 in the AWS CLI reference
--duration-secondsThe duration, in seconds, that the credentials should remain valid.
--minimum-session-token-sizeThe minimum size, in bytes, of the session token that STS issues for the request.
--serial-numberThe identification number of the MFA device that is associated with the IAM user who is making the GetSessionToken call.
--token-codeThe value provided by the MFA device, if MFA is required.