sts

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssumeRole

func AssumeRole(ctx context.Context, stsapi stsiface.STSAPI, durationSeconds int64, roleSessionName string, roleArn string, serialNr string, tokenCode string) (error, *sts.Credentials)

AssumeRole in aws account and return credentials when assume worked as expected

func GetSessionToken added in v0.2.0

func GetSessionToken(ctx context.Context, stsapi stsiface.STSAPI, durationSeconds int64, serialNr string, tokenCode string) (error, *sts.Credentials)

GetSessionToken in aws account and return credentials

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL