Interface ICoreAmazonSTS_SAML
- Namespace
- Amazon.Runtime.SharedInterfaces
- Assembly
- AWSSDK.Core.dll
ICoreAmazonSTS_SAML 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_SAML
Methods
CredentialsFromSAMLAuthentication(string, string, string, TimeSpan, ICredentials)
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.
Authenticates against a federated identity endpoint supporting SAML and returns temporary AWS credentials for the supplied role.SAMLImmutableCredentials CredentialsFromSAMLAuthentication(string endpoint, string authenticationType, string roleARN, TimeSpan credentialDuration, ICredentials userCredential)
Parameters
endpoint
stringThe endpoint for the federated identity provider
authenticationType
stringThe authentication type to use (NTLM, Kerberos etc)
roleARN
stringThe ARN of the role the user is to assume following authentication
credentialDuration
TimeSpanTTL duration for the generated credentials.
userCredential
ICredentialsOptional; alternate user credential for authentication. If null the identity of the current process is used.
Returns
- SAMLImmutableCredentials
Generated credential data, including SAML-related information such as subject.
Remarks
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.