Skip to main content
FuseFuse
IntegrationsAwsActions

Get IAM access key last used

Get last-used metadata for an access key id. Requires iam:GetAccessKeyLastUsed.

Agent markdown

iam.access_keys.last_used.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:GetAccessKeyLastUsed

Input

Input schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
access_key_idstringYesminLength 16; maxLength 128; pattern ^[A-Z0-9]+$

Output

Output schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
access_key_idstringYesminLength 16; maxLength 128; pattern ^[A-Z0-9]+$
user_namestringYesminLength 1; maxLength 64; pattern ^[A-Za-z0-9_+=,.@-]+$
last_used_atstringNominLength 1; maxLength 64
service_namestringNominLength 1; maxLength 128
regionstringNominLength 1; maxLength 64

Raw schema

Input
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "access_key_id": {
      "type": "string",
      "minLength": 16,
      "maxLength": 128,
      "pattern": "^[A-Z0-9]+$"
    }
  },
  "required": [
    "access_key_id"
  ]
}
Output
{
  "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_+=,.@-]+$"
    },
    "last_used_at": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "service_name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    },
    "region": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    }
  },
  "required": [
    "access_key_id",
    "user_name"
  ]
}