CmdID

CmdID / aws / aws sso-oidc

aws sso-oidc create-token-with-iam

Creates and returns access and refresh tokens for authorized client applications that are authenticated using any IAM entity, such as a service role or user. AWS CLI reference

7 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

7 in the AWS CLI reference
--assertionUsed only when calling this API for the JWT Bearer grant type.
--client-idThe unique identifier string for the client or application.
--code-verifier, --redirect-uri, --codeUsed only when calling this API for the Authorization Code grant type.
--grant-typeSupports the following OAuth grant types: Authorization Code, Refresh Token, JWT Bearer, and Token Exchange.
--refresh-tokenUsed only when calling this API for the Refresh Token grant type.
--requested-token-type, --subject-token-type, --subject-tokenUsed only when calling this API for the Token Exchange grant type.
--scopeThe list of scopes for which authorization is requested.