iam

package
v0.7.22 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteDetachedPolicies

func DeleteDetachedPolicies(iamSession *iam.IAM, dryRun bool)

func DeleteExpiredIAM

func DeleteExpiredIAM(iamSession *iam.IAM, tagName string, dryRun bool)

func DeleteExpiredRoles

func DeleteExpiredRoles(iamSession *iam.IAM, tagName string, dryRun bool)

func DeleteExpiredUsers

func DeleteExpiredUsers(iamSession *iam.IAM, tagName string, dryRun bool)

func DeleteGroups

func DeleteGroups(iamSession *iam.IAM, dryRun bool)

func HandleRolePolicies

func HandleRolePolicies(iamSession *iam.IAM, roleName string)

func HandleUserPolicies

func HandleUserPolicies(iamSession *iam.IAM, userName string)

Types

type Policy

type Policy struct {
	Name string
	Arn  string
}

type Role

type Role struct {
	RoleName     string
	CreationDate time.Time

	Tag             string
	InstanceProfile []*iam.InstanceProfile
	IsProtected     bool
	// contains filtered or unexported fields
}

type User

type User struct {
	UserName     string
	CreationDate time.Time

	Tag         string
	IsProtected bool
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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