Examples of using Getsessiontoken in English and their translations into German
{-}
-
Colloquial
-
Official
-
Ecclesiastic
-
Medicine
-
Financial
-
Ecclesiastic
-
Political
-
Computer
-
Programming
-
Official/political
-
Political
Choosing Between GetSessionToken and AssumeRole.
Cannot call GetFederationToken or GetSessionToken.
Use GetSessionToken for the following scenarios.
Example 1: Granting Access After Recent MFA Authentication GetSessionToken.
AssumeRole and GetSessionToken can also be called without MFA information.
Get session credentials using the result of the call to getSessionToken.
GetSessionToken-Temporary Credentials for Users in Untrusted Environments.
Denying Access to Credentials Created by GetFederationToken or GetSessionToken.
Call getSessionToken on the STS client to get a session token, using the GetSessionTokenRequest object.
Example 2: Denying Access to SpecificAPI Operations Without Valid MFA Authentication GetSessionToken.
This is why you must use GetSessionToken to restrict access to resources protected by resource-based policies.
AWS STS provides two API operations thatlet users pass MFA information: GetSessionToken and AssumeRole.
The following example shows a GetSessionToken request that includes an MFA verification code and device serial number.
You can include information about a multi-factor authentication(MFA)device when you call the AssumeRole and GetSessionToken API operations.
Optionally, the GetSessionToken request can include SerialNumber and TokenCode values for AWS multi-factor authentication(MFA) verification.
For more information about MFA-protected API access using GetSessionToken, see Configuring MFA-Protected API Access.
Because temporary credentials returned by GetSessionToken include MFA information, you can check for MFA in individual API operations made by the credentials.
For information about how to change or remove the policies associated with the IAM user whosecredentials were used to call GetFederationToken or GetSessionToken, see Managing IAM Policies.
Note that temporary credentials from a GetSessionToken request can access IAM and AWS STS API operations only if you include MFA information in the request for credentials.
User Sofía(or an application that Sofía is using)uses the temporary credentials provided by GetSessionToken to call the Amazon EC2 StopInstances or TerminateInstances action.
Nikhil(or an application that he is using)uses the temporary credentials returned by GetSessionToken to call the Amazon S3 PutObject action to upload a file to Account-A-bucket.