Skip to main content

ListOpenIDConnectProviders

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

note

IAM resource-listing operations return a subset of the available attributes for the resource. To view all of the information for an OIDC provider, see GetOpenIDConnectProvider.

Permissions

ActionDescriptionResource
ListOpenIDConnectProvidersGrants permission to list information about the IAM OpenID Connect (OIDC) provider resource objects that are defined in the AWS account

Response Elements

The following element is returned by the service.

OpenIDConnectProviderList.member.N

The list of IAM OIDC provider resource objects defined in the AWS account.

Type: Array of OpenIDConnectProviderListEntry objects

Errors

InternalError

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.

https://<partition>.iam.astran.io/?Action=ListOpenIDConnectProviders
&Version=2010-05-08
&AUTHPARAMS
<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 AWS SDKs, see the following: