Amazon IAM · Schema

AccessKey

AccessKey schema from AWS IAM API

Access ManagementAuthenticationAuthorizationIdentitySecurity

Properties

Name Type Description
UserName string The name of the IAM user the access key is associated with.
AccessKeyId string The ID for this access key.
Status string The status of the access key.
SecretAccessKey string The secret key used to sign requests. Only returned on creation.
CreateDate string The date when the access key was created.
View JSON Schema on GitHub

JSON Schema

amazon-iam-access-key-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iam/refs/heads/main/json-schema/amazon-iam-access-key-schema.json",
  "title": "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": "string",
      "format": "date-time",
      "description": "The date when the access key was created."
    }
  },
  "required": [
    "UserName",
    "AccessKeyId",
    "Status"
  ]
}