# Packages
Package stsiface provides an interface to enable mocking the AWS Security Token Service service client for testing your code.
# Functions
New creates a new instance of the STS client with a session.
# Constants
ID to lookup a service endpoint with.
ErrCodeExpiredTokenException for service response error code "ExpiredTokenException".
ErrCodeIDPCommunicationErrorException for service response error code "IDPCommunicationError".
ErrCodeIDPRejectedClaimException for service response error code "IDPRejectedClaim".
ErrCodeInvalidAuthorizationMessageException for service response error code "InvalidAuthorizationMessageException".
ErrCodeInvalidIdentityTokenException for service response error code "InvalidIdentityToken".
ErrCodeMalformedPolicyDocumentException for service response error code "MalformedPolicyDocument".
ErrCodePackedPolicyTooLargeException for service response error code "PackedPolicyTooLarge".
ErrCodeRegionDisabledException for service response error code "RegionDisabledException".
ServiceID is a unique identifier of a specific service.
Name of service.
# Structs
The identifiers for the temporary security credentials that the operation returns.
Contains the response to a successful AssumeRole request, including temporary Amazon Web Services credentials that can be used to make Amazon Web Services requests.
Contains the response to a successful AssumeRoleWithSAML request, including temporary Amazon Web Services credentials that can be used to make Amazon Web Services requests.
Contains the response to a successful AssumeRoleWithWebIdentity request, including temporary Amazon Web Services credentials that can be used to make Amazon Web Services requests.
Amazon Web Services credentials for API authentication.
A document that contains additional information about the authorization status of a request from an encoded message that is returned in response to an Amazon Web Services request.
Identifiers for the federated user that is associated with the credentials.
Contains the response to a successful GetCallerIdentity request, including information about the entity making the request.
Contains the response to a successful GetFederationToken request, including temporary Amazon Web Services credentials that can be used to make Amazon Web Services requests.
Contains the response to a successful GetSessionToken request, including temporary Amazon Web Services credentials that can be used to make Amazon Web Services requests.
A reference to the IAM managed policy that is passed as a session policy for a role session or a federated user session.
Contains information about the provided context.
STS provides the API operation methods for making requests to AWS Security Token Service.
You can pass custom key-value pair attributes when you assume a role or federate a user.