Amazon Cognito · JSON Structure

Identity Pools Credentials Structure

Credentials for the provided identity ID.

Type: object Properties: 4
AuthenticationIdentityOAuthOIDCSAMLUser ManagementFederated Identity

Credentials is a JSON Structure definition published by Amazon Cognito, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

AccessKeyId SecretKey SessionToken Expiration

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-cognito/refs/heads/main/json-structure/identity-pools-credentials-structure.json",
  "name": "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."
        }
      ]
    }
  }
}