class Aws::STS::Types::AssumeRoleWithWebIdentityResponse


@see docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentityResponse AWS API Documentation
@return [String]<br>: docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html<br>[2]: docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-using-tokens-with-identity-providers.html<br>[1]: docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts#iam-term-role-chaining<br><br><br><br>characters: =,.@-
spaces. You can also include underscores or any of the following
consisting of upper- and lower-case alphanumeric characters with no
The regex used to validate this parameter is a string of characters
*IAM User Guide*.
[Monitor and control actions taken with assumed roles] in the
Guide*. For more information about using source identity, see
[Using Tokens with User Pools] in the *Amazon Cognito Developer
JSON web token. To learn more about OIDC tokens and claims, see
`AssumeRoleWithWebIdentity`. You do this by adding a claim to the
name or email, as the source identity when calling
provider to use an attribute associated with your users, like user
across [chained role] sessions. You can configure your identity
request for all actions that are taken by the role and persists
identity is set, the value cannot be changed. It is present in the
taken with the role are associated with that user. After the source
condition key in a role trust policy. That way, actions that are
assume a role. You do this by using the ‘sts:SourceIdentity`
You can require users to set a source identity value when they
token (JWT) from the identity provider.
The value of the source identity that is returned in the JSON web
@!attribute [rw] source_identity
@return [String]
application that requested the web identity token.
token. This is traditionally the client identifier issued to the
The intended audience (also known as client ID) of the web identity
@!attribute [rw] audience
@return [String]
`AssumeRoleWithWebIdentity` request.
`ProviderId` parameter that was passed in the
field. For OAuth 2.0 access tokens, this contains the value of the
OpenID Connect ID tokens, this contains the value of the `iss`
The issuing authority of the web identity token presented. For
@!attribute [rw] provider
@return [Integer]
means the policies and tags exceeded the allowed space.
request fails if the packed size is greater than 100 percent, which
policies and session tags combined passed in the request. The
A percentage value that indicates the packed size of the session
@!attribute [rw] packed_policy_size
@return [Types::AssumedRoleUser]
that you specified when you called `AssumeRole`.
ARN or assumed role ID. The ARN and ID include the `RoleSessionName`
credentials as a principal in a resource-based policy by using the
security credentials. For example, you can reference these
identifiers that you can use to refer to the resulting temporary
The Amazon Resource Name (ARN) and the assumed role ID, which are
@!attribute [rw] assumed_role_user
@return [String]
identity provider as the token’s ‘sub` (Subject) claim.
Connect ID tokens, this field contains the value returned by the
acquired the `WebIdentityToken` (pairwise identifier). For OpenID
identifier is typically unique to the user and the application that
that was submitted with the `AssumeRoleWithWebIdentity` call. The
provider. This identifier is associated with the `WebIdentityToken`
The unique user identifier that is returned by the identity
@!attribute [rw] subject_from_web_identity_token
@return [Types::Credentials]
</note>
maximum size.
fixed. We strongly recommend that you make no assumptions about the
<note markdown=“1”> The size of the security token that STS API operations return is not
a secret access key, and a security token.
The temporary security credentials, which include an access key ID,
@!attribute [rw] credentials
be used to make Amazon Web Services requests.
request, including temporary Amazon Web Services credentials that can
Contains the response to a successful AssumeRoleWithWebIdentity