Amazon Cognito · Schema

Credentials

Credentials for the provided identity ID.

AuthenticationIdentityOAuthOIDCSAMLUser ManagementFederated Identity

Properties

Name Type Description
AccessKeyId object
SecretKey object
SessionToken object
Expiration object
View JSON Schema on GitHub

JSON Schema

identity-pools-credentials-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-cognito/refs/heads/main/json-schema/identity-pools-credentials-schema.json",
  "title": "Credentials",
  "description": "Credentials for the provided identity ID.",
  "type": "object",
  "properties": {
    "AccessKeyId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AccessKeyString"
        },
        {
          "description": "The Access Key portion of the credentials."
        }
      ]
    },
    "SecretKey": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SecretKeyString"
        },
        {
          "description": "The Secret Access Key portion of the credentials"
        }
      ]
    },
    "SessionToken": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SessionTokenString"
        },
        {
          "description": "The Session Token portion of the credentials"
        }
      ]
    },
    "Expiration": {
      "allOf": [
        {
          "$ref": "#/components/schemas/DateType"
        },
        {
          "description": "The date at which these credentials will expire."
        }
      ]
    }
  }
}