OpenIdConnectProvider
Provides an IAM OpenID Connect provider.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var @default = new Aws.Iam.OpenIdConnectProvider("default", new Aws.Iam.OpenIdConnectProviderArgs
{
ClientIdLists =
{
"266362248691-342342xasdasdasda-apps.googleusercontent.com",
},
ThumbprintLists = {},
Url = "https://accounts.google.com",
});
}
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iam.NewOpenIdConnectProvider(ctx, "_default", &iam.OpenIdConnectProviderArgs{
ClientIdLists: pulumi.StringArray{
pulumi.String("266362248691-342342xasdasdasda-apps.googleusercontent.com"),
},
ThumbprintLists: []interface{}{},
Url: pulumi.String("https://accounts.google.com"),
})
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_aws as aws
default = aws.iam.OpenIdConnectProvider("default",
client_id_lists=["266362248691-342342xasdasdasda-apps.googleusercontent.com"],
thumbprint_lists=[],
url="https://accounts.google.com")import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const defaultOpenIdConnectProvider = new aws.iam.OpenIdConnectProvider("default", {
clientIdLists: ["266362248691-342342xasdasdasda-apps.googleusercontent.com"],
thumbprintLists: [],
url: "https://accounts.google.com",
});Create a OpenIdConnectProvider Resource
new OpenIdConnectProvider(name: string, args: OpenIdConnectProviderArgs, opts?: CustomResourceOptions);def OpenIdConnectProvider(resource_name, opts=None, client_id_lists=None, thumbprint_lists=None, url=None, __props__=None);func NewOpenIdConnectProvider(ctx *Context, name string, args OpenIdConnectProviderArgs, opts ...ResourceOption) (*OpenIdConnectProvider, error)public OpenIdConnectProvider(string name, OpenIdConnectProviderArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args OpenIdConnectProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OpenIdConnectProviderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OpenIdConnectProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
OpenIdConnectProvider Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The OpenIdConnectProvider resource accepts the following input properties:
- Client
Id List<string>Lists A list of client IDs (also known as audiences). When a mobile or web app registers with an OpenID Connect provider, they establish a value that identifies the application. (This is the value that’s sent as the client_id parameter on OAuth requests.)
- Thumbprint
Lists List<string> A list of server certificate thumbprints for the OpenID Connect (OIDC) identity provider’s server certificate(s).
- Url string
The URL of the identity provider. Corresponds to the iss claim.
- Client
Id []stringLists A list of client IDs (also known as audiences). When a mobile or web app registers with an OpenID Connect provider, they establish a value that identifies the application. (This is the value that’s sent as the client_id parameter on OAuth requests.)
- Thumbprint
Lists []string A list of server certificate thumbprints for the OpenID Connect (OIDC) identity provider’s server certificate(s).
- Url string
The URL of the identity provider. Corresponds to the iss claim.
- client
Id string[]Lists A list of client IDs (also known as audiences). When a mobile or web app registers with an OpenID Connect provider, they establish a value that identifies the application. (This is the value that’s sent as the client_id parameter on OAuth requests.)
- thumbprint
Lists string[] A list of server certificate thumbprints for the OpenID Connect (OIDC) identity provider’s server certificate(s).
- url string
The URL of the identity provider. Corresponds to the iss claim.
- client_
id_ List[str]lists A list of client IDs (also known as audiences). When a mobile or web app registers with an OpenID Connect provider, they establish a value that identifies the application. (This is the value that’s sent as the client_id parameter on OAuth requests.)
- thumbprint_
lists List[str] A list of server certificate thumbprints for the OpenID Connect (OIDC) identity provider’s server certificate(s).
- url str
The URL of the identity provider. Corresponds to the iss claim.
Outputs
All input properties are implicitly available as output properties. Additionally, the OpenIdConnectProvider resource produces the following output properties:
Look up an Existing OpenIdConnectProvider Resource
Get an existing OpenIdConnectProvider resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: OpenIdConnectProviderState, opts?: CustomResourceOptions): OpenIdConnectProviderstatic get(resource_name, id, opts=None, arn=None, client_id_lists=None, thumbprint_lists=None, url=None, __props__=None);func GetOpenIdConnectProvider(ctx *Context, name string, id IDInput, state *OpenIdConnectProviderState, opts ...ResourceOption) (*OpenIdConnectProvider, error)public static OpenIdConnectProvider Get(string name, Input<string> id, OpenIdConnectProviderState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Arn string
The ARN assigned by AWS for this provider.
- Client
Id List<string>Lists A list of client IDs (also known as audiences). When a mobile or web app registers with an OpenID Connect provider, they establish a value that identifies the application. (This is the value that’s sent as the client_id parameter on OAuth requests.)
- Thumbprint
Lists List<string> A list of server certificate thumbprints for the OpenID Connect (OIDC) identity provider’s server certificate(s).
- Url string
The URL of the identity provider. Corresponds to the iss claim.
- Arn string
The ARN assigned by AWS for this provider.
- Client
Id []stringLists A list of client IDs (also known as audiences). When a mobile or web app registers with an OpenID Connect provider, they establish a value that identifies the application. (This is the value that’s sent as the client_id parameter on OAuth requests.)
- Thumbprint
Lists []string A list of server certificate thumbprints for the OpenID Connect (OIDC) identity provider’s server certificate(s).
- Url string
The URL of the identity provider. Corresponds to the iss claim.
- arn string
The ARN assigned by AWS for this provider.
- client
Id string[]Lists A list of client IDs (also known as audiences). When a mobile or web app registers with an OpenID Connect provider, they establish a value that identifies the application. (This is the value that’s sent as the client_id parameter on OAuth requests.)
- thumbprint
Lists string[] A list of server certificate thumbprints for the OpenID Connect (OIDC) identity provider’s server certificate(s).
- url string
The URL of the identity provider. Corresponds to the iss claim.
- arn str
The ARN assigned by AWS for this provider.
- client_
id_ List[str]lists A list of client IDs (also known as audiences). When a mobile or web app registers with an OpenID Connect provider, they establish a value that identifies the application. (This is the value that’s sent as the client_id parameter on OAuth requests.)
- thumbprint_
lists List[str] A list of server certificate thumbprints for the OpenID Connect (OIDC) identity provider’s server certificate(s).
- url str
The URL of the identity provider. Corresponds to the iss claim.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.