Skip to main content

CDK construct library for Github OpenID Connect Identity Provider

Project description

npm version PyPI version release

cdk-github-oidc

Inspired by aripalo/aws-cdk-github-oidc, this repository allows you to create a Github OpenID Connect Identity Provider with the OpenIdConnectProvider CDK construct and generate federated IAM roles used in one or multiple Github repositories.

Sample

# Example automatically generated. See https://github.com/aws/jsii/issues/826
from cdk_github_oidc import OpenIdConnectProvider

# create the provider
provider = OpenIdConnectProvider(stack, "GithubOpenIdConnectProvider")
# create an IAM role from this provider
provider.create_role("demo-role", [owner="pahud", repo="first-repo", owner="pahud", repo="second-repo", owner="pahud", repo="third-repo"
])

Project details


Release history Release notifications | RSS feed

This version

0.0.5

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pahud-cdk-github-oidc-0.0.5.tar.gz (22.5 kB view hashes)

Uploaded Source

Built Distribution

pahud_cdk_github_oidc-0.0.5-py3-none-any.whl (22.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page