Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1012 Bytes

File metadata and controls

34 lines (23 loc) · 1012 Bytes

IAM

The methodaws iam family of commands provide information about an account's IAM roles and policies.

Enumerate

The enumerate command will gather information about all of the IAM roles, along with their attached and/or inline policies, that the provided credentials have access to.

Usage

methodaws iam enumerate --regions us-east-1 --output json

Help Text

$ methodaws iam enumerate -h
Enumerate IAM resources

Usage:
  methodaws iam enumerate [flags]

Flags:
  -h, --help   help for enumerate

Global Flags:
  -o, --output string          Output format (signal, json). Default value is signal (default "signal")
  -f, --output-file string     Path to output file. If blank, will output to STDOUT
  -q, --quiet                  Suppress output
  -r, --regions stringArray    AWS Regions to search for resources. You can specify multiple regions by providing the flag multiple times. If blank, will search all regions.
  -v, --verbose                Verbose output