View a markdown version of this page

Actions, resources, and condition keys for AWS IAM Identity Center OIDC service - Service Authorization Reference

Actions, resources, and condition keys for AWS IAM Identity Center OIDC service

AWS IAM Identity Center OIDC service (service prefix: sso-oauth) provides the following service-specific operations, resources, actions, and condition keys for use in IAM permission policies.

References:

API operations defined by AWS IAM Identity Center OIDC service

The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.

Operation IAM action Condition key Possible value(s) Access level

CreateToken

sso-oauth:CreateTokenWithIAM

Write

CreateTokenWithIAM

sso-oauth:CreateTokenWithIAM

Write

Actions defined by AWS IAM Identity Center OIDC service

You can specify the following actions in the Action element of an IAM policy statement. Use policies to grant permissions to perform an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.

Actions Description Resource types (*required) Condition keys Access level

CreateTokenWithIAM

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`

Application*

Write

Permission-only actions for AWS IAM Identity Center OIDC service

The following actions are defined by AWS IAM Identity Center OIDC service but are not directly invocable through any API operation. They can only be used in IAM policy statements to grant or deny permissions.

Actions Description Resource types (*required) Condition keys Access level

IntrospectTokenWithIAM

Grants permission to validate and retrieve information about active OAuth 2.0 access tokens and refresh tokens, including their associated scopes and permissions. This permission is used only by AWS managed applications and is not documented in the IAM Identity Center OIDC API Reference

Application*

Write

RevokeTokenWithIAM

Grants permission to revoke OAuth 2.0 access tokens and refresh tokens, invalidating them before their normal expiration. This permission is used only by AWS managed applications and is not documented in the IAM Identity Center OIDC API Reference

Application*

Write

Resource types defined by AWS IAM Identity Center OIDC service

The following resource types are defined by this service and can be used in the Resource element of IAM permission policy statements.

Resource types ARN Condition keys

Application

arn:${Partition}:sso::${AccountId}:application/${InstanceId}/${ApplicationId}

Condition keys for AWS IAM Identity Center OIDC service

AWS IAM Identity Center OIDC service has no service-specific condition keys that can be used in the Condition element of policy statements.