envs

Amazon Cognito — user pool

cognito/pool · version 1

envs add cognito/pool

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
COGNITO_USER_POOL_ID required config Pool id. Cognito's hosted UI and the browser SDKs carry it, so it is public by design.. where to get it
COGNITO_CLIENT_ID required config App client id, carried by the same browser flow.. where to get it
COGNITO_CLIENT_SECRET optional secret Only issued for confidential clients, and never for a browser one.. where to get it

The JSON the CLI reads