Table of Contents

Interface ICoreAmazonSTS_WebIdentity

Namespace
Amazon.Runtime.SharedInterfaces
Assembly
AWSSDK.Core.dll
public interface ICoreAmazonSTS_WebIdentity : IDisposable
Inherited Members

Methods

CredentialsFromAssumeRoleWithWebIdentityAuthentication(string, string, string, AssumeRoleWithWebIdentityCredentialsOptions)

This method is used internally to access the Amazon Security Token service within other service assemblies. Please use AmazonSecurityTokenServiceClient to access the Amazon Security Token service instead.

Use Amazon Security Token Service to assume a role. Proxy settings that are required for the HTTPS and STS calls made during the authentication/credential generation process are supported and should have been configured on the STS ClientConfig instance associated with the STS client instance exposing this interface.
AssumeRoleImmutableCredentials CredentialsFromAssumeRoleWithWebIdentityAuthentication(string webIdentityToken, string roleArn, string roleSessionName, AssumeRoleWithWebIdentityCredentialsOptions options)

Parameters

webIdentityToken string

The web identity token used to assume the role.

roleArn string

The Amazon Resource Name (ARN) of the role to assume.

roleSessionName string

An identifier for the assumed role session.

options AssumeRoleWithWebIdentityCredentialsOptions

Options to be used in the call to AssumeRoleWithWebIdentity

Returns

AssumeRoleImmutableCredentials

CredentialsFromAssumeRoleWithWebIdentityAuthenticationAsync(string, string, string, AssumeRoleWithWebIdentityCredentialsOptions)

This method is used internally to access the Amazon Security Token service within other service assemblies. Please use AmazonSecurityTokenServiceClient to access the Amazon Security Token service instead.

Use Amazon Security Token Service to assume a role. Proxy settings that are required for the HTTPS and STS calls made during the authentication/credential generation process are supported and should have been configured on the STS ClientConfig instance associated with the STS client instance exposing this interface.
Task<AssumeRoleImmutableCredentials> CredentialsFromAssumeRoleWithWebIdentityAuthenticationAsync(string webIdentityToken, string roleArn, string roleSessionName, AssumeRoleWithWebIdentityCredentialsOptions options)

Parameters

webIdentityToken string

The web identity token used to assume the role.

roleArn string

The Amazon Resource Name (ARN) of the role to assume.

roleSessionName string

An identifier for the assumed role session.

options AssumeRoleWithWebIdentityCredentialsOptions

Options to be used in the call to AssumeRoleWithWebIdentity

Returns

Task<AssumeRoleImmutableCredentials>