1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. iam
  5. getOidcProvider

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.iam.getOidcProvider

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

Resource Type definition for AWS::IAM::OIDCProvider

Using getOidcProvider

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getOidcProvider(args: GetOidcProviderArgs, opts?: InvokeOptions): Promise<GetOidcProviderResult>
function getOidcProviderOutput(args: GetOidcProviderOutputArgs, opts?: InvokeOptions): Output<GetOidcProviderResult>
Copy
def get_oidc_provider(arn: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetOidcProviderResult
def get_oidc_provider_output(arn: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetOidcProviderResult]
Copy
func LookupOidcProvider(ctx *Context, args *LookupOidcProviderArgs, opts ...InvokeOption) (*LookupOidcProviderResult, error)
func LookupOidcProviderOutput(ctx *Context, args *LookupOidcProviderOutputArgs, opts ...InvokeOption) LookupOidcProviderResultOutput
Copy

> Note: This function is named LookupOidcProvider in the Go SDK.

public static class GetOidcProvider 
{
    public static Task<GetOidcProviderResult> InvokeAsync(GetOidcProviderArgs args, InvokeOptions? opts = null)
    public static Output<GetOidcProviderResult> Invoke(GetOidcProviderInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetOidcProviderResult> getOidcProvider(GetOidcProviderArgs args, InvokeOptions options)
public static Output<GetOidcProviderResult> getOidcProvider(GetOidcProviderArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:iam:getOidcProvider
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Arn This property is required. string
Amazon Resource Name (ARN) of the OIDC provider
Arn This property is required. string
Amazon Resource Name (ARN) of the OIDC provider
arn This property is required. String
Amazon Resource Name (ARN) of the OIDC provider
arn This property is required. string
Amazon Resource Name (ARN) of the OIDC provider
arn This property is required. str
Amazon Resource Name (ARN) of the OIDC provider
arn This property is required. String
Amazon Resource Name (ARN) of the OIDC provider

getOidcProvider Result

The following output properties are available:

Arn string
Amazon Resource Name (ARN) of the OIDC provider
ClientIdList List<string>
A list of client IDs (also known as audiences) that are associated with the specified IAM OIDC provider resource object. For more information, see CreateOpenIDConnectProvider .
Tags List<Pulumi.AwsNative.Outputs.Tag>
A list of tags that are attached to the specified IAM OIDC provider. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide .
ThumbprintList List<string>

A list of certificate thumbprints that are associated with the specified IAM OIDC provider resource object. For more information, see CreateOpenIDConnectProvider .

This property is optional. If it is not included, IAM will retrieve and use the top intermediate certificate authority (CA) thumbprint of the OpenID Connect identity provider server certificate.

Arn string
Amazon Resource Name (ARN) of the OIDC provider
ClientIdList []string
A list of client IDs (also known as audiences) that are associated with the specified IAM OIDC provider resource object. For more information, see CreateOpenIDConnectProvider .
Tags Tag
A list of tags that are attached to the specified IAM OIDC provider. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide .
ThumbprintList []string

A list of certificate thumbprints that are associated with the specified IAM OIDC provider resource object. For more information, see CreateOpenIDConnectProvider .

This property is optional. If it is not included, IAM will retrieve and use the top intermediate certificate authority (CA) thumbprint of the OpenID Connect identity provider server certificate.

arn String
Amazon Resource Name (ARN) of the OIDC provider
clientIdList List<String>
A list of client IDs (also known as audiences) that are associated with the specified IAM OIDC provider resource object. For more information, see CreateOpenIDConnectProvider .
tags List<Tag>
A list of tags that are attached to the specified IAM OIDC provider. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide .
thumbprintList List<String>

A list of certificate thumbprints that are associated with the specified IAM OIDC provider resource object. For more information, see CreateOpenIDConnectProvider .

This property is optional. If it is not included, IAM will retrieve and use the top intermediate certificate authority (CA) thumbprint of the OpenID Connect identity provider server certificate.

arn string
Amazon Resource Name (ARN) of the OIDC provider
clientIdList string[]
A list of client IDs (also known as audiences) that are associated with the specified IAM OIDC provider resource object. For more information, see CreateOpenIDConnectProvider .
tags Tag[]
A list of tags that are attached to the specified IAM OIDC provider. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide .
thumbprintList string[]

A list of certificate thumbprints that are associated with the specified IAM OIDC provider resource object. For more information, see CreateOpenIDConnectProvider .

This property is optional. If it is not included, IAM will retrieve and use the top intermediate certificate authority (CA) thumbprint of the OpenID Connect identity provider server certificate.

arn str
Amazon Resource Name (ARN) of the OIDC provider
client_id_list Sequence[str]
A list of client IDs (also known as audiences) that are associated with the specified IAM OIDC provider resource object. For more information, see CreateOpenIDConnectProvider .
tags Sequence[root_Tag]
A list of tags that are attached to the specified IAM OIDC provider. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide .
thumbprint_list Sequence[str]

A list of certificate thumbprints that are associated with the specified IAM OIDC provider resource object. For more information, see CreateOpenIDConnectProvider .

This property is optional. If it is not included, IAM will retrieve and use the top intermediate certificate authority (CA) thumbprint of the OpenID Connect identity provider server certificate.

arn String
Amazon Resource Name (ARN) of the OIDC provider
clientIdList List<String>
A list of client IDs (also known as audiences) that are associated with the specified IAM OIDC provider resource object. For more information, see CreateOpenIDConnectProvider .
tags List<Property Map>
A list of tags that are attached to the specified IAM OIDC provider. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide .
thumbprintList List<String>

A list of certificate thumbprints that are associated with the specified IAM OIDC provider resource object. For more information, see CreateOpenIDConnectProvider .

This property is optional. If it is not included, IAM will retrieve and use the top intermediate certificate authority (CA) thumbprint of the OpenID Connect identity provider server certificate.

Supporting Types

Tag

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi