package
1.1.1
Repository: https://github.com/mmmorris1975/aws-runas.git
Documentation: pkg.go.dev

# Functions

NewAssumeRoleCredentials configures a default AssumeRoleProvider, and wraps it in an AWS credentials.Credentials object to allow Assume Role credential fetching.
NewAwsIdentityManager creates a new AWS Identity Manager using the given ConfigProvider/Session.
NewSessionCredentials configures a default SessionTokenProvider, and wraps it in an AWS credentials.Credentials object to allow Session Token credential fetching.
StdinTokenProvider will print a prompt to Stderr for a user to enter the MFA code.

# Constants

AssumeRoleDefaultDuration is a sensible default value for Assume Role credential duration.
AssumeRoleMaxDuration is the maximum allowed Assume Role credential duration by the AWS API.
AssumeRoleMinDuration is the minimum allowed Assume Role credential duration by the AWS API.
AssumeRoleProviderName is the name given to this AWS credential provider.
SessionTokenDefaultDuration is a sensible default value for Session Token credential duration.
SessionTokenMaxDuration is the maximum allowed Session Token credential duration by the AWS API.
SessionTokenMinDuration is the minimum allowed Session Token credential duration by the AWS API.
SessionTokenProviderName is the name given to this AWS credential provider.

# Structs

AssumeRoleProvider is the type to provide settings to perform the Assume Role operation in the AWS API.
AwsIdentity holds the identity information for a set of AWS credentials gathered via the sts.GetCallerIdentity API call.
AwsIdentityManager provides the facility to fetch AwsIdentity information for the caller.
ErrMfaRequired is the error returned when an MFA device is configured for the profile but no MFA code was supplied when requesting Session or Assume Role credentials.
SessionTokenProvider is the type to provide settings to perform the GetSessionToken operation in the AWS API.