'2.0', 'service' => '
AWS IAM Identity Center (successor to AWS Single Sign-On) OpenID Connect (OIDC) is a web service that enables a client (such as AWS CLI or a native application) to register with IAM Identity Center. The service also enables the client to fetch the user’s access token upon successful authentication and authorization with IAM Identity Center.
Although AWS Single Sign-On was renamed, the sso
and identitystore
API namespaces will continue to retain their original name for backward compatibility purposes. For more information, see IAM Identity Center rename.
Considerations for Using This Guide
Before you begin using this guide, we recommend that you first review the following important information about how the IAM Identity Center OIDC service works.
The IAM Identity Center OIDC service currently implements only the portions of the OAuth 2.0 Device Authorization Grant standard (https://tools.ietf.org/html/rfc8628) that are necessary to enable single sign-on authentication with the AWS CLI. Support for other OIDC flows frequently needed for native applications, such as Authorization Code Flow (+ PKCE), will be addressed in future releases.
The service emits only OIDC access tokens, such that obtaining a new token (For example, token refresh) requires explicit user re-authentication.
The access tokens provided by this service grant access to all AWS account entitlements assigned to an IAM Identity Center user, not just a particular application.
The documentation in this guide does not describe the mechanism to convert the access token into AWS Auth (“sigv4”) credentials for use with IAM-protected AWS service endpoints. For more information, see GetRoleCredentials in the IAM Identity Center Portal API Reference Guide.
For general information about IAM Identity Center, see What is IAM Identity Center? in the IAM Identity Center User Guide.
', 'operations' => [ 'CreateToken' => 'Creates and returns an access token for the authorized client. The access token issued will be used to fetch short-term credentials for the assigned roles in the AWS account.
', 'RegisterClient' => 'Registers a client with IAM Identity Center. This allows clients to initiate device authorization. The output should be persisted for reuse through many authentication requests.
', 'StartDeviceAuthorization' => 'Initiates device authorization by requesting a pair of verification codes from the authorization service.
', ], 'shapes' => [ 'AccessDeniedException' => [ 'base' => 'You do not have sufficient access to perform this action.
', 'refs' => [], ], 'AccessToken' => [ 'base' => NULL, 'refs' => [ 'CreateTokenResponse$accessToken' => 'An opaque token to access IAM Identity Center resources assigned to a user.
', ], ], 'AuthCode' => [ 'base' => NULL, 'refs' => [ 'CreateTokenRequest$code' => 'The authorization code received from the authorization service. This parameter is required to perform an authorization grant request to get access to a token.
', ], ], 'AuthorizationPendingException' => [ 'base' => 'Indicates that a request to authorize a client with an access user session token is pending.
', 'refs' => [], ], 'ClientId' => [ 'base' => NULL, 'refs' => [ 'CreateTokenRequest$clientId' => 'The unique identifier string for each client. This value should come from the persisted result of the RegisterClient API.
', 'RegisterClientResponse$clientId' => 'The unique identifier string for each client. This client uses this identifier to get authenticated by the service in subsequent calls.
', 'StartDeviceAuthorizationRequest$clientId' => 'The unique identifier string for the client that is registered with IAM Identity Center. This value should come from the persisted result of the RegisterClient API operation.
', ], ], 'ClientName' => [ 'base' => NULL, 'refs' => [ 'RegisterClientRequest$clientName' => 'The friendly name of the client.
', ], ], 'ClientSecret' => [ 'base' => NULL, 'refs' => [ 'CreateTokenRequest$clientSecret' => 'A secret string generated for the client. This value should come from the persisted result of the RegisterClient API.
', 'RegisterClientResponse$clientSecret' => 'A secret string generated for the client. The client will use this string to get authenticated by the service in subsequent calls.
', 'StartDeviceAuthorizationRequest$clientSecret' => 'A secret string that is generated for the client. This value should come from the persisted result of the RegisterClient API operation.
', ], ], 'ClientType' => [ 'base' => NULL, 'refs' => [ 'RegisterClientRequest$clientType' => 'The type of client. The service supports only public
as a client type. Anything other than public will be rejected by the service.
Used only when calling this API for the device code grant type. This short-term code is used to identify this authentication attempt. This should come from an in-memory reference to the result of the StartDeviceAuthorization API.
', 'StartDeviceAuthorizationResponse$deviceCode' => 'The short-lived code that is used by the device when polling for a session token.
', ], ], 'Error' => [ 'base' => NULL, 'refs' => [ 'AccessDeniedException$error' => NULL, 'AuthorizationPendingException$error' => NULL, 'ExpiredTokenException$error' => NULL, 'InternalServerException$error' => NULL, 'InvalidClientException$error' => NULL, 'InvalidClientMetadataException$error' => NULL, 'InvalidGrantException$error' => NULL, 'InvalidRequestException$error' => NULL, 'InvalidScopeException$error' => NULL, 'SlowDownException$error' => NULL, 'UnauthorizedClientException$error' => NULL, 'UnsupportedGrantTypeException$error' => NULL, ], ], 'ErrorDescription' => [ 'base' => NULL, 'refs' => [ 'AccessDeniedException$error_description' => NULL, 'AuthorizationPendingException$error_description' => NULL, 'ExpiredTokenException$error_description' => NULL, 'InternalServerException$error_description' => NULL, 'InvalidClientException$error_description' => NULL, 'InvalidClientMetadataException$error_description' => NULL, 'InvalidGrantException$error_description' => NULL, 'InvalidRequestException$error_description' => NULL, 'InvalidScopeException$error_description' => NULL, 'SlowDownException$error_description' => NULL, 'UnauthorizedClientException$error_description' => NULL, 'UnsupportedGrantTypeException$error_description' => NULL, ], ], 'ExpirationInSeconds' => [ 'base' => NULL, 'refs' => [ 'CreateTokenResponse$expiresIn' => 'Indicates the time in seconds when an access token will expire.
', 'StartDeviceAuthorizationResponse$expiresIn' => 'Indicates the number of seconds in which the verification code will become invalid.
', ], ], 'ExpiredTokenException' => [ 'base' => 'Indicates that the token issued by the service is expired and is no longer valid.
', 'refs' => [], ], 'GrantType' => [ 'base' => NULL, 'refs' => [ 'CreateTokenRequest$grantType' => 'Supports grant types for the authorization code, refresh token, and device code request. For device code requests, specify the following value:
urn:ietf:params:oauth:grant-type:device_code
For information about how to obtain the device code, see the StartDeviceAuthorization topic.
', ], ], 'IdToken' => [ 'base' => NULL, 'refs' => [ 'CreateTokenResponse$idToken' => 'Currently, idToken
is not yet implemented and is not supported. For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using this Guide in the IAM Identity Center OIDC API Reference.
The identifier of the user that associated with the access token, if present.
', ], ], 'InternalServerException' => [ 'base' => 'Indicates that an error from the service occurred while trying to process a request.
', 'refs' => [], ], 'IntervalInSeconds' => [ 'base' => NULL, 'refs' => [ 'StartDeviceAuthorizationResponse$interval' => 'Indicates the number of seconds the client must wait between attempts when polling for a session.
', ], ], 'InvalidClientException' => [ 'base' => 'Indicates that the clientId
or clientSecret
in the request is invalid. For example, this can occur when a client sends an incorrect clientId
or an expired clientSecret
.
Indicates that the client information sent in the request during registration is invalid.
', 'refs' => [], ], 'InvalidGrantException' => [ 'base' => 'Indicates that a request contains an invalid grant. This can occur if a client makes a CreateToken request with an invalid grant type.
', 'refs' => [], ], 'InvalidRequestException' => [ 'base' => 'Indicates that something is wrong with the input to the request. For example, a required parameter might be missing or out of range.
', 'refs' => [], ], 'InvalidScopeException' => [ 'base' => 'Indicates that the scope provided in the request is invalid.
', 'refs' => [], ], 'LongTimeStampType' => [ 'base' => NULL, 'refs' => [ 'RegisterClientResponse$clientIdIssuedAt' => 'Indicates the time at which the clientId
and clientSecret
were issued.
Indicates the time at which the clientId
and clientSecret
will become invalid.
Currently, refreshToken
is not yet implemented and is not supported. For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using this Guide in the IAM Identity Center OIDC API Reference.
The token used to obtain an access token in the event that the access token is invalid or expired.
', 'CreateTokenResponse$refreshToken' => 'Currently, refreshToken
is not yet implemented and is not supported. For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using this Guide in the IAM Identity Center OIDC API Reference.
A token that, if present, can be used to refresh a previously issued access token that might have expired.
', ], ], 'RegisterClientRequest' => [ 'base' => NULL, 'refs' => [], ], 'RegisterClientResponse' => [ 'base' => NULL, 'refs' => [], ], 'Scope' => [ 'base' => NULL, 'refs' => [ 'Scopes$member' => NULL, ], ], 'Scopes' => [ 'base' => NULL, 'refs' => [ 'CreateTokenRequest$scope' => 'The list of scopes that is defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.
', 'RegisterClientRequest$scopes' => 'The list of scopes that are defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.
', ], ], 'SlowDownException' => [ 'base' => 'Indicates that the client is making the request too frequently and is more than the service can handle.
', 'refs' => [], ], 'StartDeviceAuthorizationRequest' => [ 'base' => NULL, 'refs' => [], ], 'StartDeviceAuthorizationResponse' => [ 'base' => NULL, 'refs' => [], ], 'TokenType' => [ 'base' => NULL, 'refs' => [ 'CreateTokenResponse$tokenType' => 'Used to notify the client that the returned token is an access token. The supported type is BearerToken
.
The location of the application that will receive the authorization code. Users authorize the service to send the request to this location.
', 'RegisterClientResponse$authorizationEndpoint' => 'The endpoint where the client can request authorization.
', 'RegisterClientResponse$tokenEndpoint' => 'The endpoint where the client can get an access token.
', 'StartDeviceAuthorizationRequest$startUrl' => 'The URL for the AWS access portal. For more information, see Using the AWS access portal in the IAM Identity Center User Guide.
', 'StartDeviceAuthorizationResponse$verificationUri' => 'The URI of the verification page that takes the userCode
to authorize the device.
An alternate URL that the client can use to automatically launch a browser. This process skips the manual step in which the user visits the verification page and enters their code.
', ], ], 'UnauthorizedClientException' => [ 'base' => 'Indicates that the client is not currently authorized to make the request. This can happen when a clientId
is not issued for a public client.
Indicates that the grant type in the request is not supported by the service.
', 'refs' => [], ], 'UserCode' => [ 'base' => NULL, 'refs' => [ 'StartDeviceAuthorizationResponse$userCode' => 'A one-time user verification code. This is needed to authorize an in-use device.
', ], ], ],];