CmdID / aws / aws signin
aws signin create-o-auth2-token-with-iam
Exchanges client credentials for an OAuth 2.0 access token scoped to a resource, which you can use to access AWS services from applications. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--grant-typeThe OAuth 2.0 grant type.--resourceThe OAuth resource for which the access token is requested.