Documentation
¶
Index ¶
- func CheckIAMErr(err error, profile, username string)
- func DeleteUserKeys(service *iam.IAM, keyArray []string, profile, username string)
- func GetNewPair(service *iam.IAM, profile, username string) (string, string, string)
- func GetUsername(profile string) string
- func ListUserKeys(service *iam.IAM, profile, username string) ([]string, []string)
- func Rotate(profile, username string) (string, string, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIAMErr ¶
CheckIAMErr will handle errors on IAM requests for the entire program
func DeleteUserKeys ¶
DeleteUserKeys will delete the old keys for a user
func GetNewPair ¶
GetNewPair will generate new keys for a user
func GetUsername ¶
GetUsername is the same as aws iam get-user output
func ListUserKeys ¶
ListUserKeys will list the current keys for a user
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.