Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAccountID ¶
GetAccountID gets the account number of the current AWS account
func GetCallerID ¶
func GetCallerID() (sts.GetCallerIdentityOutput, error)
GetCallerID returns the identity of the current IAM principal
func GetSessionToken ¶ added in v1.1.0
func GetSessionToken() (*types.Credentials, error)
GetSessionToken returns a session token for the current IAM principle
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.