Cognito is for user authentication to your apps, apis.
For example, if I have a pool, test-pool, I create an IAM user and give it an access to the test-pool; then I will use the access and secret keys, of the IAM user, within the application with the Cognito pool properties (id, region) to contact the user pool for authentication purposes.