AWS SDK for .NET Documentation
AssumeRoleWithWebIdentityResult Class
AmazonAmazon.SecurityToken.ModelAssumeRoleWithWebIdentityResult Did this page help you?   Yes   No    Tell us about it...
Contains the result of a successful call to the AssumeRoleWithWebIdentity action, including temporary AWS credentials that can be used to make AWS requests.
Declaration Syntax
C#
public class AssumeRoleWithWebIdentityResult
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
AssumeRoleWithWebIdentityResult()()()()
Initializes a new instance of the AssumeRoleWithWebIdentityResult class

AssumedRoleUser
Gets and sets the property AssumedRoleUser.

The Amazon Resource Name (ARN) and the assumed role ID, which are identifiers that you can use to refer to the resulting temporary security credentials. For example, you can reference these credentials as a principal in a resource-based policy by using the ARN or assumed role ID. The ARN and ID include the

CopyC#
RoleSessionName
that you specified when you called
CopyC#
AssumeRole
.


Audience
Gets and sets the property Audience.

The intended audience of the web identity token. This is traditionally the client identifier issued to the application that requested the web identity token.


Credentials
Gets and sets the property Credentials.

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


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
PackedPolicySize
Gets and sets the property PackedPolicySize.

A percentage value that indicates the size of the policy in packed form. The service rejects any policy with a packed size greater than 100 percent, which means the policy exceeded the allowed space.


Provider
Gets and sets the property Provider.

The issuing authority of the web identity token presented. For OpenID Connect ID Tokens this contains the value of the

CopyC#
iss
field. For OAuth 2.0 Access Tokens, this contains the value of the
CopyC#
ProviderId
parameter that was passed in the
CopyC#
AssumeRoleWithWebIdentity
request.


SubjectFromWebIdentityToken
Gets and sets the property SubjectFromWebIdentityToken.

The unique user identifier that is returned by the identity provider. This identifier is associated with the

CopyC#
WebIdentityToken
that was submitted with the
CopyC#
AssumeRoleWithWebIdentity
call. The identifier is typically unique to the user and the application that acquired the
CopyC#
WebIdentityToken
(pairwise identifier). If an OpenID Connect ID token was submitted in the
CopyC#
WebIdentityToken
, this value is returned by the identity provider as the token's
CopyC#
sub
(Subject) claim.


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithAssumedRoleUser(AssumedRoleUser) Obsolete.
Sets the AssumedRoleUser property

WithAudience(String) Obsolete.
Sets the Audience property

WithCredentials(Credentials) Obsolete.
Sets the Credentials property

WithPackedPolicySize(Int32) Obsolete.
Sets the PackedPolicySize property

WithProvider(String) Obsolete.
Sets the Provider property

WithSubjectFromWebIdentityToken(String) Obsolete.
Sets the SubjectFromWebIdentityToken property

Inheritance Hierarchy
Object
AssumeRoleWithWebIdentityResult

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)