Skip to main content
FuseFuse
IntegrationsAwsActions

Get IAM user

Get one IAM user by user name. Requires iam:GetUser.

Agent markdown

iam.users.get · 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:GetUser

Input

Input schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
user_namestringYesminLength 1; maxLength 64; pattern ^[A-Za-z0-9_+=,.@-]+$

Output

Output schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
userobjectYesadditionalProperties false
user.namestringYesminLength 1; maxLength 64; pattern ^[A-Za-z0-9_+=,.@-]+$
user.idstringYesminLength 1; maxLength 128
user.arnstringYesminLength 20; maxLength 2048; pattern ^arn:aws:.+$
user.pathstringYesminLength 1; maxLength 512; pattern ^/$|^/[\x21-\x7e]+/$
user.created_atstringYesminLength 1; maxLength 64
user.password_last_used_atstringNominLength 1; maxLength 64
user.permissions_boundary_arnstringNominLength 20; maxLength 2048; pattern ^arn:aws:.+$
user.tagsarray<object>NomaxItems 50
user.tags[]objectYesadditionalProperties false
user.tags[].keystringYesminLength 1; maxLength 128
user.tags[].valuestringYesmaxLength 256

Raw schema

Input
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "user_name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "pattern": "^[A-Za-z0-9_+=,.@-]+$"
    }
  },
  "required": [
    "user_name"
  ]
}
Output
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "user": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64,
          "pattern": "^[A-Za-z0-9_+=,.@-]+$"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "arn": {
          "type": "string",
          "minLength": 20,
          "maxLength": 2048,
          "pattern": "^arn:aws:.+$"
        },
        "path": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^/$|^/[\\x21-\\x7e]+/$"
        },
        "created_at": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        },
        "password_last_used_at": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        },
        "permissions_boundary_arn": {
          "type": "string",
          "minLength": 20,
          "maxLength": 2048,
          "pattern": "^arn:aws:.+$"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "key": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              },
              "value": {
                "type": "string",
                "maxLength": 256
              }
            },
            "required": [
              "key",
              "value"
            ]
          },
          "maxItems": 50
        }
      },
      "required": [
        "name",
        "id",
        "arn",
        "path",
        "created_at"
      ]
    }
  },
  "required": [
    "user"
  ]
}