CmdID / aws / aws cognito-idp
aws cognito-idp get-client-token
Issues an access token for machine-to-machine (M2M) authorization. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--client-idThe ID of the app client that requests the access token.--client-metadataA map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.--scopesThe custom scopes to authorize in the access token, in the format resource-server-identifier/scope-name.--secretAn active secret for the app client.