CmdID

CmdID / aws / aws sso-oidc

aws sso-oidc create-token

Creates and returns access and refresh tokens for clients that are authenticated using client secrets. 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
--client-idThe unique identifier string for the client or application.
--client-secretA secret string generated for the client.
--code-verifier, --redirect-uri, --codeUsed only when calling this API for the Authorization Code grant type.
--device-codeUsed only when calling this API for the Device Code grant type.
--grant-typeSupports the following OAuth grant types: Authorization Code, Device Code, and Refresh Token.
--refresh-tokenUsed only when calling this API for the Refresh Token grant type.
--scopeThe list of scopes for which authorization is requested.