Skip to main content

ISTSGetSessionTokenRequest

Interface in AWS.STS

Interface for GetSessionToken requests.

Ancestors

Properties

DurationSeconds

property DurationSeconds: TOptional<Integer>

The duration in seconds that the credentials should remain valid.

Valid range is from 900 seconds (15 minutes) to 129,600 seconds (36 hours). The default is 43,200 (12 hours). Sessions obtained with AWS root account user credentials are restricted to a maximum of 3,600 seconds (1 hour).

SerialNumber

property SerialNumber: string

The identification number of the MFA device that is associated with the user making the GetSessionToken call.

Specify this value if MFA authentication is required by the trust policy. The value is either the serial number of a hardware device ot an Amazon Resource Name (ARN) for a virtual device.

TokenCode

property TokenCode: string

The value provided by the MFA device.

Provide this value if any policy requires MFA. requires MFA.