iam

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPolicyDocument

func CheckPolicyDocument(doc *yaml.Node) (bool, error)

Check a PolicyDocument to make sure it will not result in failures

func PrincipalExists

func PrincipalExists(principal string) (bool, error)

Check to see if the principal exists in the account

func RoleExists

func RoleExists(roleArn string) bool

Check to see if a role exists in the account

func Simulate

func Simulate(actions []string, resource string, roleArn string, spinnerCallback func(string)) (bool, []string)

Simulate actions on a resource. The role arg is optional, if not provided, the current aws config will be used.

Types

This section is empty.

Jump to

Keyboard shortcuts

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