You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6c13c8c
Browse filesBrowse the repository at this point in the historyBrowse files
|`scope`| string | No | Filter by scope: All, AWS \(AWS-managed\), or Local \(customer-managed\)|
320
+
|`scope`| string | No | Filter by scope. Must be exactly one of: All, AWS \(AWS-managed\), Local \(customer-managed\)|
321
321
|`onlyAttached`| boolean | No | If true, only return policies attached to an entity |
322
322
|`pathPrefix`| string | No | Path prefix to filter policies |
323
323
|`maxItems`| number | No | Maximum number of policies to return \(1-1000, default 100\)|
@@ -327,11 +327,41 @@ List managed IAM policies
327
327
328
328
| Parameter | Type | Description |
329
329
| --------- | ---- | ----------- |
330
-
|`policies`| json | List of policies with policyName, arn, attachmentCount, and dates |
330
+
|`policies`| json | List of policies with policyName, policyId, arn, path, attachmentCount, isAttachable, defaultVersionId, permissionsBoundaryUsageCount, and dates. AWS never returns policy descriptions from ListPolicies — use IAM Get Policy for a description.|
331
331
|`isTruncated`| boolean | Whether there are more results available |
332
332
|`marker`| string | Pagination marker for the next page of results |
333
333
|`count`| number | Number of policies returned |
334
334
335
+
### IAM Get Policy
336
+
337
+
Get details about a managed IAM policy, including its description — the field ListPolicies never returns
338
+
339
+
#### Input
340
+
341
+
| Parameter | Type | Required | Description |
342
+
| --------- | ---- | -------- | ----------- |
343
+
|`region`| string | Yes | AWS region \(e.g., us-east-1\)|
344
+
|`accessKeyId`| string | Yes | AWS access key ID |
|`userName`| string | No | The IAM user whose keys to list \(defaults to the calling user if omitted\)|
421
+
|`maxItems`| number | No | Maximum number of access keys to return \(1-1000\)|
422
+
|`marker`| string | No | Pagination marker from a previous request |
423
+
424
+
#### Output
425
+
426
+
| Parameter | Type | Description |
427
+
| --------- | ---- | ----------- |
428
+
|`accessKeys`| json | Access key metadata: accessKeyId, userName, status \(Active/Inactive\), createDate. The secret access key is never returned by this operation. |
429
+
|`isTruncated`| boolean | Whether there are more results available |
430
+
|`marker`| string | Pagination marker for the next page of results |
431
+
|`count`| number | Number of access keys returned |
432
+
433
+
### IAM Update Access Key
434
+
435
+
Activate or deactivate an IAM access key — deactivate an old key and verify nothing breaks before deleting it
436
+
437
+
#### Input
438
+
439
+
| Parameter | Type | Required | Description |
440
+
| --------- | ---- | -------- | ----------- |
441
+
|`region`| string | Yes | AWS region \(e.g., us-east-1\)|
442
+
|`accessKeyId`| string | Yes | AWS access key ID |
|`policySourceArn`| string | Yes | ARN of the user, group, or role to simulate \(e.g., arn:aws:iam::123456789012:user/alice\)|
505
580
|`actionNames`| string | Yes | Comma-separated list of AWS actions to simulate \(e.g., s3:GetObject,ec2:DescribeInstances\)|
506
-
|`resourceArns`| string | No | Comma-separated list of resource ARNs to simulate against \(defaults to * if not provided\)|
581
+
|`resourceArns`| string | No | Comma-separated list of resource ARNs to simulate against \(defaults to * if not provided\). Read the per-ARN verdict from resourceSpecificResults, not from evalDecision. |
582
+
|`contextEntries`| array | No | Condition context keys to supply to the simulation. Without these, any policy gated by a Condition simulates as denied with missing context values. |
507
583
|`maxResults`| number | No | Maximum number of simulation results to return \(1-1000\)|
508
584
|`marker`| string | No | Pagination marker from a previous request |
|`evaluationResults`| json |One result per simulated action. evalDecision is the AGGREGATE, most-restrictive decision across every resource ARN, and evalResourceName is the resource-type ARN template \(e.g. an arn:aws:s3:::BUCKET/KEY shape with the bucket and key left as placeholders\), not a customer ARN. For the verdict on an individual ARN read resourceSpecificResults\[\]: evalResourceName, evalResourceDecision\(allowed/explicitDeny/implicitDeny\), matchedStatements, missingContextValues, permissionsBoundaryAllowed. When concrete resource ARNs are supplied, missing context values appear there rather than at the top level.|
515
591
|`isTruncated`| boolean | Whether there are more results available |
516
592
|`marker`| string | Pagination marker for the next page of results |
517
593
|`count`| number | Number of evaluation results returned |
0 commit comments