aws-cognito-identity
TLDR
List identity pools in the current region
SYNOPSIS
aws cognito-identity subcommand [options]
DESCRIPTION
aws cognito-identity is a subcommand of the AWS CLI that manages Amazon Cognito Identity Pools (Federated Identities). It provides temporary AWS credentials to users authenticated through identity providers like Amazon, Facebook, Google, SAML, or Cognito User Pools.
Identity pools map user identities to IAM roles, enabling secure access to AWS services from mobile apps and web applications. Each identity pool can support both authenticated and unauthenticated (guest) access with different IAM permissions.
The service issues unique identity IDs and vends temporary AWS credentials through the STS service, allowing fine-grained access control without embedding long-term credentials in applications.
PARAMETERS
list-identity-pools
List all identity pools for the account.create-identity-pool
Create a new identity pool with specified settings.describe-identity-pool
Get details about an identity pool.update-identity-pool
Modify identity pool configuration.delete-identity-pool
Remove an identity pool.get-id
Get or create an identity ID for a user.get-credentials-for-identity
Get temporary AWS credentials for an identity.get-open-id-token
Get an OpenID token for an identity.get-open-id-token-for-developer-identity
Get token for developer-authenticated identity.--identity-pool-id id
The identity pool ID (format: region:uuid).--identity-pool-name name
Name for the identity pool.--allow-unauthenticated-identities
Enable guest access without authentication.--no-allow-unauthenticated-identities
Disable guest access.--logins map
Map of provider names to tokens for authentication.--max-results number
Maximum number of results to return.
CAVEATS
Identity pool IDs include the region prefix (e.g., us-east-1:xxxxxxxx). Credentials expire after 1 hour by default. Requires IAM roles to be configured for both authenticated and unauthenticated access. Do not confuse Cognito Identity Pools with Cognito User Pools, which handle user registration and sign-in directly.
HISTORY
Amazon Cognito Identity was announced at AWS re:Invent 2014 and launched in July 2014 as part of the mobile services suite. It was designed to simplify secure access to AWS resources from mobile applications. The service evolved to support additional identity providers, SAML federation, and enhanced flow for developer-authenticated identities.
SEE ALSO
aws(1), aws-cognito-idp(1), aws-sts(1), aws-iam(1)


