Skip to main content
FuseFuse
IntegrationsAwsActions

List managed policies attached to IAM user

List managed policies attached to a user. Inline policies are outside v1. Requires iam:ListAttachedUserPolicies.

Agent markdown

iam.users.attached_managed_policies.list · AWS · v1

Details

Risk
Read
Idempotency
Safe
Availability
Default
Exposure
REST, SDK, MCP
MCP hints
readOnly=true, destructive=false, idempotent=true, openWorld=true

Scopes

  • iam:ListAttachedUserPolicies

Input

Input schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
user_namestringYesminLength 1; maxLength 64; pattern ^[A-Za-z0-9_+=,.@-]+$
path_prefixstringNominLength 1; maxLength 512; pattern ^/$|^/[\x21-\x7e]+/$
page_sizeintegerNominimum 1; maximum 1000
cursorstringNominLength 1; maxLength 16384; pattern ^(?!.*://)[^\x00-\x1f\x7f]+$

Output

Output schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
policiesarray<object>YesmaxItems 1000
policies[]objectYesadditionalProperties false
policies[].namestringYesminLength 1; maxLength 128
policies[].arnstringYesminLength 20; maxLength 2048; pattern ^arn:aws:.+$
next_cursorstringNominLength 1; maxLength 16384; pattern ^(?!.*://)[^\x00-\x1f\x7f]+$

Raw schema

Input
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "user_name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "pattern": "^[A-Za-z0-9_+=,.@-]+$"
    },
    "path_prefix": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512,
      "pattern": "^/$|^/[\\x21-\\x7e]+/$"
    },
    "page_size": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000
    },
    "cursor": {
      "type": "string",
      "minLength": 1,
      "maxLength": 16384,
      "pattern": "^(?!.*://)[^\\x00-\\x1f\\x7f]+$"
    }
  },
  "required": [
    "user_name"
  ]
}
Output
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "policies": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "arn": {
            "type": "string",
            "minLength": 20,
            "maxLength": 2048,
            "pattern": "^arn:aws:.+$"
          }
        },
        "required": [
          "name",
          "arn"
        ]
      },
      "maxItems": 1000
    },
    "next_cursor": {
      "type": "string",
      "minLength": 1,
      "maxLength": 16384,
      "pattern": "^(?!.*://)[^\\x00-\\x1f\\x7f]+$"
    }
  },
  "required": [
    "policies"
  ]
}