aws_iam
Type: Plugin
Call a read-only AWS IAM action, following paging. Rows are the items of the list in the answer; GetCredentialReport returns one row per user. Policy documents are decoded.
| Argument | Type | Description |
|---|---|---|
secret |
string | Name of an “AWS Creds” secret. |
access_key_id |
string | Access key ID when no secret is used. |
secret_access_key |
string | Secret access key when no secret is used. |
session_token |
string | Session token for temporary keys. |
role_arn |
string | Role to assume in the customer account. |
external_id |
string | External ID that the trust policy of the role requires. |
action |
string (required) | A read-only IAM action: ListUsers, ListRoles, ListAccessKeys, GetCredentialReport, GetAccountSummary, … |
params |
ordereddict.Dict | Action parameters, e.g. dict(UserName=“alice”). |
ignore_not_found |
bool | Return no rows instead of logging an error when the entity does not exist. |
Required permissions: NETWORK
Platforms: macOS, Linux, Windows