Documentation
¶
Overview ¶
package sharedCredentials provides access to the aws shared credentials file.
package sharedCredentials provides access to the aws shared credentials file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSharedCredsFilePath ¶
GetSharedCredsFilePath returns the filename to use to read AWS shared credentials. Will return an error if the user's home directory path cannot be found.
func Store ¶
func Store(log log.T, accessKeyID, secretAccessKey, sessionToken, shareFilePath, profile string, force bool) error
Store function updates the shared credentials with the specified values: * If the shared credentials file does not exist, it will be created. Any parent directories will also be created. * If the section to update does not exist, it will be created.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.