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.AssumeRoleImmutableCredentials CredentialsFromAssumeRoleWithWebIdentityAuthentication(string webIdentityToken, string roleArn, string roleSessionName, AssumeRoleWithWebIdentityCredentialsOptions options)
Parameters
webIdentityToken
stringThe web identity token used to assume the role.
roleArn
stringThe Amazon Resource Name (ARN) of the role to assume.
roleSessionName
stringAn identifier for the assumed role session.
options
AssumeRoleWithWebIdentityCredentialsOptionsOptions to be used in the call to AssumeRoleWithWebIdentity
Returns
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.Task<AssumeRoleImmutableCredentials> CredentialsFromAssumeRoleWithWebIdentityAuthenticationAsync(string webIdentityToken, string roleArn, string roleSessionName, AssumeRoleWithWebIdentityCredentialsOptions options)
Parameters
webIdentityToken
stringThe web identity token used to assume the role.
roleArn
stringThe Amazon Resource Name (ARN) of the role to assume.
roleSessionName
stringAn identifier for the assumed role session.
options
AssumeRoleWithWebIdentityCredentialsOptionsOptions to be used in the call to AssumeRoleWithWebIdentity