sts

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccountID

func GetAccountID() (string, error)

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.

Jump to

Keyboard shortcuts

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