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
webIdentityTokenstringThe web identity token used to assume the role.
roleArnstringThe Amazon Resource Name (ARN) of the role to assume.
roleSessionNamestringAn identifier for the assumed role session.
optionsAssumeRoleWithWebIdentityCredentialsOptionsOptions 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
webIdentityTokenstringThe web identity token used to assume the role.
roleArnstringThe Amazon Resource Name (ARN) of the role to assume.
roleSessionNamestringAn identifier for the assumed role session.
optionsAssumeRoleWithWebIdentityCredentialsOptionsOptions to be used in the call to AssumeRoleWithWebIdentity