Struct rusoto_sts::GetFederationTokenResponse [] [src]

pub struct GetFederationTokenResponse {
    pub credentials: Option<Credentials>,
    pub federated_user: Option<FederatedUser>,
    pub packed_policy_size: Option<i64>,
}

Contains the response to a successful GetFederationToken request, including temporary AWS credentials that can be used to make AWS requests.

Fields

The temporary security credentials, which include an access key ID, a secret access key, and a security (or session) token.

Note: The size of the security token that STS APIs return is not fixed. We strongly recommend that you make no assumptions about the maximum size. As of this writing, the typical size is less than 4096 bytes, but that can vary. Also, future updates to AWS might require larger sizes.

Identifiers for the federated user associated with the credentials (such as arn:aws:sts::123456789012:federated-user/Bob or 123456789012:Bob). You can use the federated user's ARN in your resource-based policies, such as an Amazon S3 bucket policy.

A percentage value indicating the size of the policy in packed form. The service rejects policies for which the packed size is greater than 100 percent of the allowed value.

Trait Implementations

impl Default for GetFederationTokenResponse
[src]

[src]

Returns the "default value" for a type. Read more

impl Debug for GetFederationTokenResponse
[src]

[src]

Formats the value using the given formatter.

impl Clone for GetFederationTokenResponse
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more