AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
Creates an IAM entity to describe an identity provider (IdP) that supports OpenID Connect (OIDC).

The OIDC provider that you create with this operation can be used as a principal in a role's trust policy to establish a trust relationship between AWS and the OIDC provider.

When you create the IAM OIDC provider, you specify the URL of the OIDC identity provider (IdP) to trust, a list of client IDs (also known as audiences) that identify the application or applications that are allowed to authenticate using the OIDC provider, and a list of thumbprints of the server certificate(s) that the IdP uses. You get all of this information from the OIDC IdP that you want to use for access to AWS.

Because trust for the OIDC provider is ultimately derived from the IAM provider that this action creates, it is a best practice to limit access to the CreateOpenIDConnectProvider action to highly-privileged users.

Namespace: Amazon.IdentityManagement
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public abstract CreateOpenIDConnectProviderResponse CreateOpenIDConnectProvider(
         CreateOpenIDConnectProviderRequest request
)

Parameters

request
Type: Amazon.IdentityManagement.Model.CreateOpenIDConnectProviderRequest

Container for the necessary parameters to execute the CreateOpenIDConnectProvider service method.

Return Value
Type: Amazon.IdentityManagement.Model.CreateOpenIDConnectProviderResponse
The response from the CreateOpenIDConnectProvider service method, as returned by IdentityManagementService.

Exceptions

ExceptionCondition
EntityAlreadyExistsException The request was rejected because it attempted to create a resource that already exists.
InvalidInputException The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
LimitExceededException The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.
ServiceFailureException The request processing has failed because of an unknown error, exception or failure.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5