Versions in this module Expand all Collapse all v0 v0.1.8 Jul 17, 2023 v0.1.7 Jul 3, 2023 Changes in this version + func AssumeRole(roleSessionName string, stsClient STSRoleAssumer, roleArn string) (*types.Credentials, error) + func AssumeRoleSequence(roleSessionName string, seedClient STSRoleAssumer, roleArnSequence []string, ...) (*types.Credentials, error) + func AssumeRoleWithJWT(jwt string, roleArn string, stsClient STSRoleWithWebIdentityAssumer) (*types.Credentials, error) + func StsClientWithProxy(proxyUrl string) (*sts.Client, error) + type AWSCredentialsResponse struct + AccessKeyId string + Expiration string + Region string + SecretAccessKey string + SessionToken string + func (r AWSCredentialsResponse) EnvFormat() string + func (r AWSCredentialsResponse) RenderOutput(outputFormat string) (string, error) + type STSClientProviderFunc func(optFns ...func(*config.LoadOptions) error) (STSRoleAssumer, error) + var DefaultSTSClientProviderFunc STSClientProviderFunc = func(optnFns ...func(options *config.LoadOptions) error) (STSRoleAssumer, error) { ... } + type STSRoleAssumer interface + AssumeRole func(ctx context.Context, params *sts.AssumeRoleInput, optFns ...func(*sts.Options)) (*sts.AssumeRoleOutput, error) + type STSRoleWithWebIdentityAssumer interface + AssumeRoleWithWebIdentity func(ctx context.Context, params *sts.AssumeRoleWithWebIdentityInput, ...) (*sts.AssumeRoleWithWebIdentityOutput, error)