AWS Cognito를 통해 임시 AWS credentials를 발급받는 Python 예제 코드입니다.ADMIN_NO_SRP_AUTH 방식을 사용하기 때문에 AWS credentials가 제공된 환경에서 동작합니다. Pre-RequirementsAWS Cognito의 User Pool과 Identity Pool이 생성되어 있어야합니다.User Pool App을 생성할 때 Generate client secret 옵션이 비활성화되어야 합니다.User Pool App의 ADMIN_NO_SRP_AUTH 옵션이 활성화되어야 합니다.Auth Flow # -*- coding: utf-8 -*-import boto3 class Cognito(): region = 'ap-northeast-2' user_pool_id ..