Skip to main content
FuseFuse
IntegrationsAwsActions

List IAM user access keys

List access key metadata for a user. Never returns secret material. Requires iam:ListAccessKeys.

Agent markdown

iam.users.access_keys.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:ListAccessKeys

Input

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

Output

Output schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
access_keysarray<object>YesmaxItems 1000
access_keys[]objectYesadditionalProperties false
access_keys[].access_key_idstringYesminLength 16; maxLength 128; pattern ^[A-Z0-9]+$
access_keys[].user_namestringYesminLength 1; maxLength 64; pattern ^[A-Za-z0-9_+=,.@-]+$
access_keys[].statusstringYesenum active | inactive | expired
access_keys[].created_atstringYesminLength 1; maxLength 64
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_+=,.@-]+$"
    },
    "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": {
    "access_keys": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "access_key_id": {
            "type": "string",
            "minLength": 16,
            "maxLength": 128,
            "pattern": "^[A-Z0-9]+$"
          },
          "user_name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64,
            "pattern": "^[A-Za-z0-9_+=,.@-]+$"
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "inactive",
              "expired"
            ]
          },
          "created_at": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          }
        },
        "required": [
          "access_key_id",
          "user_name",
          "status",
          "created_at"
        ]
      },
      "maxItems": 1000
    },
    "next_cursor": {
      "type": "string",
      "minLength": 1,
      "maxLength": 16384,
      "pattern": "^(?!.*://)[^\\x00-\\x1f\\x7f]+$"
    }
  },
  "required": [
    "access_keys"
  ]
}