Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultSTSProvider ¶
func DefaultSTSProvider(sess *awssess.Session) stscreds.AssumeRoler
func New ¶
func New(sak, aks, region, role string, stsprovider STSProvider) (*awssess.Session, error)
New creates a new aws session based on the supported input methods. https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials
Types ¶
type STSProvider ¶
type STSProvider func(*awssess.Session) stscreds.AssumeRoler
Click to show internal directories.
Click to hide internal directories.