ListOpenIDConnectProviders - Amazon Identity and Access Management
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

ListOpenIDConnectProviders

Lists information about the IAM OpenID Connect (OIDC) provider resource objects defined in the Amazon Web Services account.

Note

IAM resource-listing operations return a subset of the available attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for an OIDC provider, see GetOpenIDConnectProvider.

Response Elements

The following element is returned by the service.

OpenIDConnectProviderList.member.N

The list of IAM OIDC provider resource objects defined in the Amazon Web Services account.

Type: Array of OpenIDConnectProviderListEntry objects

Errors

For information about the errors that are common to all actions, see Common Errors.

ServiceFailure

The request processing has failed because of an unknown error, exception or failure.

HTTP Status Code: 500

Examples

Example

This example illustrates one usage of ListOpenIDConnectProviders.

Sample Request

https://iam.amazonaws.com/?Action=ListOpenIDConnectProviders &Version=2010-05-08 &AUTHPARAMS

Sample Response

<ListOpenIDConnectProvidersResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/"> <ListOpenIDConnectProvidersResult> <OpenIDConnectProviderList> <member> <Arn>arn:aws:iam::123456789012:oidc-provider/server.example.com</Arn> </member> <member> <Arn>arn:aws:iam::123456789012:oidc-provider/server.example.org</Arn> </member> </OpenIDConnectProviderList> </ListOpenIDConnectProvidersResult> <ResponseMetadata> <RequestId>de2c0228-4f63-11e4-aefa-bfd6aEXAMPLE</RequestId> </ResponseMetadata> </ListOpenIDConnectProvidersResponse>

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: