CDK construct library for Github OpenID Connect Identity Provider
Project description
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pahud-cdk-github-oidc-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81c056e7b50aade7402e36a0d0e219f7520956905056aa82538ab574e429da7c |
|
MD5 | f9d2ac4dca38fad82906b4115fe9691a |
|
BLAKE2b-256 | 3b7c292b31b2afda97fe4bcbcf9cbae28ce1a0f385092763f28b2b22ccb83df5 |
Close
Hashes for pahud_cdk_github_oidc-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c89f7756e3419513448285a1915882c2dfef60f16292bb0d4197a2d6b8bd23f |
|
MD5 | 3de77abd5ac173bf7741f21dd68822dc |
|
BLAKE2b-256 | 89f744a2df84365a15e332ee21a11b52d5138fa02dac868b49f28e7adbf58875 |