package
0.0.0-20240910065925-6c5717154ee1
Repository: https://github.com/allcloud-io/clisso.git
Documentation: pkg.go.dev

# Functions

AssumeSAMLRole assumes an AWS IAM role using a SAML assertion.
GetValidCredentials returns credentials which have a aws_expiration key but are not yet expired.
GetValidProfiles returns profiles which have a aws_expiration key but are not yet expired.
OutputCredentialProcess writes (prints) credentials to stdout in the format required by the AWS CLI.
OutputEnvironment writes (prints) credentials to stdout.
OutputFile writes credentials to an AWS CLI credentials file (https://docs.aws.amazon.com/cli/latest/userguide/cli-config-files.html).
SetCredentialProcess writes the credential_process config to an AWS CLI credentials file in the format required by the SDK.

# Constants

A friendly message to show to the user when a requested duration exceeds the configured maximum.
A custom error which indicates that the requested duration exceeded the configured maximum.
The error message STS returns when attempting to assume a role with a duration longer than the configured maximum for that role.

# Structs

Credentials represents a set of temporary credentials received from AWS STS (http://docs.aws.amazon.com/STS/latest/APIReference/Welcome.html).
Profile represents an AWS profile.