Interface ICoreAmazonSTS
- Namespace
- Amazon.Runtime.SharedInterfaces
- Assembly
- AWSSDK.Core.dll
ICoreAmazonSTS is not meant to be used directly. It defines Security Token service with basic .NET types and allows other services to be able to use the service as a runtime dependency. This interface is implemented by the AmazonSecurityTokenServiceClient defined in the AWSSDK.SecurityToken assembly.
public interface ICoreAmazonSTS
Methods
CredentialsFromAssumeRoleAuthentication(string, string, AssumeRoleAWSCredentialsOptions)
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 CredentialsFromAssumeRoleAuthentication(string roleArn, string roleSessionName, AssumeRoleAWSCredentialsOptions options)
Parameters
roleArn
stringThe Amazon Resource Name (ARN) of the role to assume.
roleSessionName
stringAn identifier for the assumed role session.
options
AssumeRoleAWSCredentialsOptionsOptions to be used in the call to AssumeRole.