sso-oauth:CreateTokenWithIAM is a Write access-level action in the sso-oauth service. Grants permission to create and return OAuth 2.0 access tokens and refresh tokens for authorized client applications. These tokens might contain defined scopes that specify permissions such as `read:profile` or `write:data`
ARNs that sso-oauth:CreateTokenWithIAM can be scoped to in an IAM policy.
No condition keys are documented for this action.
To use sso-oauth:CreateTokenWithIAM you may also need to grant:
A minimal policy that allows sso-oauth:CreateTokenWithIAM. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowSsooauthCreateTokenWithIAM",
"Effect": "Allow",
"Action": "sso-oauth:CreateTokenWithIAM",
"Resource": "*"
}
]
}