Documentation ¶
Overview ¶
Package tokencache provides access to the token cache in ~/.aws/cli/cache. This is interoperable with the token cache of AWS CLI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
func Load(cfg external.SharedConfig) (*aws.Credentials, error)
Load reads the token cache file and returns the credentials.
func Save ¶
func Save(cfg external.SharedConfig, credentials aws.Credentials) error
Save writes the credentials to the token cache file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.