Amazon IAM · JSON Structure

Amazon Iam Access Key Structure

AccessKey schema from AWS IAM API

Type: object Properties: 5 Required: 3
Access ManagementAuthenticationAuthorizationIdentitySecurity

AccessKey is a JSON Structure definition published by Amazon IAM, describing 5 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

UserName AccessKeyId Status SecretAccessKey CreateDate

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iam/refs/heads/main/json-structure/amazon-iam-access-key-structure.json",
  "name": "AccessKey",
  "description": "AccessKey schema from AWS IAM API",
  "type": "object",
  "properties": {
    "UserName": {
      "type": "string",
      "description": "The name of the IAM user the access key is associated with."
    },
    "AccessKeyId": {
      "type": "string",
      "description": "The ID for this access key."
    },
    "Status": {
      "type": "string",
      "enum": [
        "Active",
        "Inactive"
      ],
      "description": "The status of the access key."
    },
    "SecretAccessKey": {
      "type": "string",
      "description": "The secret key used to sign requests. Only returned on creation."
    },
    "CreateDate": {
      "type": "datetime",
      "description": "The date when the access key was created."
    }
  },
  "required": [
    "UserName",
    "AccessKeyId",
    "Status"
  ]
}