Skip to main content

OpenIDConnectProvider

Provides an Iam Open ID Connect Provider.

The following example creates a Open ID Connect Provider for an EKS Cluster.

Upon creation, the SSL certicate chain is fetched from the identity.oidc.issuer URL provided by the EKS cluster. The thumbprint of the last certificate is formatted, it is required as an input for the creation of the OpenIDConnectProvider resource.

const iamOpenIdConnectProvider = provider.IAM.makeOpenIDConnectProvider({
name: "oidp-eks",
dependencies: () => ({ cluster }),
});

Examples#

Properties#

Dependencies#

Aws Docs#