CmdID / aws / aws cognito-idp
aws cognito-idp create-user-pool-client
Creates an app client in a user pool. AWS CLI reference
24 options Its page in the AWS CLI reference
Options
--access-token-validityThe access token time limit.--allowed-o-auth-flows-user-pool-clientSet to true to use OAuth 2.0 authorization server features in your app client.--allowed-o-auth-flowsThe OAuth grant types that you want your app client to generate for clients in managed login authentication.--allowed-o-auth-scopesThe OAuth, OpenID Connect (OIDC), and custom scopes that you want to permit your app client to authorize access with.--analytics-configurationThe user pool analytics configuration for collecting metrics and sending them to your Amazon Pinpoint campaign.--auth-session-validityAmazon Cognito creates a session token for each API request in an authentication flow.--callback-urlsA list of allowed redirect, or callback, URLs for managed login authentication.--client-nameA friendly name for the app client that you want to create.--client-secretA custom client secret that you want to use for the app client.--default-redirect-uriThe default redirect URI.--enable-propagate-additional-user-context-dataWhen true, your application can include additional UserContextData in authentication requests.--enable-token-revocationActivates or deactivates token revocation in the target app client.--explicit-auth-flowsThe authentication flows that you want your user pool client to support.--generate-secretWhen true, generates a client secret for the app client.--id-token-validityThe ID token time limit.--logout-urlsA list of allowed logout URLs for managed login authentication.--prevent-user-existence-errorsWhen ENABLED, suppresses messages that might indicate a valid user exists when someone attempts sign-in.--read-attributesThe list of user attributes that you want your app client to have read access to.--refresh-token-rotationThe configuration of your app client for refresh token rotation.--refresh-token-validityThe refresh token time limit.--supported-identity-providersA list of provider names for the identity providers (IdPs) that are supported on this client.--token-validity-unitsThe units that validity times are represented in.--user-pool-idThe ID of the user pool where you want to create an app client.--write-attributesThe list of user attributes that you want your app client to have write access to.