Amazon Cognito · JSON Structure

Identity Pools Get Credentials For Identity Response Structure

Returned in response to a successful GetCredentialsForIdentity operation.

Type: object Properties: 2
AuthenticationIdentityOAuthOIDCSAMLUser ManagementFederated Identity

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

Properties

IdentityId Credentials

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-get-credentials-for-identity-response-structure.json",
  "name": "GetCredentialsForIdentityResponse",
  "description": "Returned in response to a successful <code>GetCredentialsForIdentity</code> operation.",
  "type": "object",
  "properties": {
    "IdentityId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/IdentityId"
        },
        {
          "description": "A unique identifier in the format REGION:GUID."
        }
      ]
    },
    "Credentials": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Credentials"
        },
        {
          "description": "Credentials for the provided identity ID."
        }
      ]
    }
  }
}