Returns a set of temporary security credentials (consisting of an access key ID, a secret access key, and a security token) for a
federated user. A typical use is in a proxy application that is getting temporary security credentials on behalf of distributed applications
inside a corporate network. Because you must call the
Note: Do not use this call in mobile applications or client-based web applications that directly get temporary security
credentials. For those types of applications, use
The
The permissions that are granted to the federated user are the intersection of the policy that is passed with the
For more information about how permissions work, see Controlling Permissions in Temporary Credentials in Using Temporary Security
Credentials . For information about using
Inheritance Hierarchy
Amazon.Runtime.AmazonWebServiceRequest
Amazon.SecurityToken.Model.GetFederationTokenRequest
Namespace: Amazon.SecurityToken.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public class GetFederationTokenRequest : AmazonWebServiceRequest IRequestEvents
The GetFederationTokenRequest type exposes the following members
Constructors
Name | Description | |
---|---|---|
![]() |
GetFederationTokenRequest() |
Properties
Name | Description | |
---|---|---|
![]() |
DurationSeconds |
The duration, in seconds, that the session should last. Acceptable durations for federation sessions range from 900 seconds (15 minutes) to
129600 seconds (36 hours), with 43200 seconds (12 hours) as the default. Sessions for AWS account owners are restricted to a maximum of 3600
seconds (one hour). If the duration is longer than one hour, the session for AWS account owners defaults to one hour.
Constraints: |
![]() |
Name |
The name of the federated user. The name is used as an identifier for the temporary security credentials (such as Constraints: |
![]() |
Policy |
A policy that specifies the permissions that are granted to the federated user. By default, federated users have no permissions; they do not
inherit any from the IAM user. When you specify a policy, the federated user's permissions are intersection of the specified policy and the
IAM user's policy. If you don't specify a policy, federated users can only access AWS resources that explicitly allow those federated users
in a resource policy, such as in an Amazon S3 bucket policy.
Constraints: |
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8
.NET for Windows Phone:
Supported in: Window Phone 8